Replace api with controller instead of minimalapi
This commit is contained in:
@@ -4,9 +4,9 @@ using System.Text;
|
||||
|
||||
namespace Emergence.services.Interface
|
||||
{
|
||||
public interface IService<T> where T : class
|
||||
public interface IService<T, I> where T : class
|
||||
{
|
||||
public Task<IList<T>> GetAllAsync();
|
||||
public Task<T> GetByIdAsync(int id);
|
||||
public Task<T> GetByIdAsync(I id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user