mirror of
https://github.com/azaion/satellite-provider.git
synced 2026-04-22 19:26:39 +00:00
database and migrations
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using SatelliteProvider.DataAccess.Models;
|
||||
|
||||
namespace SatelliteProvider.DataAccess.Repositories;
|
||||
|
||||
public interface IRegionRepository
|
||||
{
|
||||
Task<RegionEntity?> GetByIdAsync(Guid id);
|
||||
Task<IEnumerable<RegionEntity>> GetByStatusAsync(string status);
|
||||
Task<Guid> InsertAsync(RegionEntity region);
|
||||
Task<int> UpdateAsync(RegionEntity region);
|
||||
Task<int> DeleteAsync(Guid id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user