Migrazione gestione risorse in obj separati (Repository/Service)
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using EgwCoreLib.Lux.Data.DbModel.Cost;
|
||||
|
||||
namespace EgwCoreLib.Lux.Data.Repository.Cost
|
||||
{
|
||||
public interface IResourceRepository : IBaseRepository
|
||||
{
|
||||
#region Public Methods
|
||||
|
||||
Task<bool> AddAsync(ResourceModel entity);
|
||||
|
||||
Task<bool> DeleteAsync(ResourceModel entity);
|
||||
|
||||
Task<List<ResourceModel>> GetAllAsync();
|
||||
|
||||
Task<ResourceModel?> GetByIdAsync(int recId);
|
||||
|
||||
Task<bool> UpdateAsync(ResourceModel entity);
|
||||
|
||||
#endregion Public Methods
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user