4ee8b9101d
Create working for tenant and added in efcore and data layer
15 lines
319 B
C#
15 lines
319 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Emergence.services.Interface
|
|
{
|
|
public interface IService<T, I> where T : class
|
|
{
|
|
public Task<IEnumerable<T>> GetAllAsync();
|
|
public Task<T> GetByIdAsync(I id);
|
|
|
|
public Task<T> CreateAsync(T tenant);
|
|
}
|
|
}
|