Replace api with controller instead of minimalapi

This commit is contained in:
2026-04-01 11:11:19 +10:30
parent f26ff6e04a
commit 5407c7db55
17 changed files with 98 additions and 147 deletions
+2 -2
View File
@@ -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);
}
}