14 lines
376 B
C#
14 lines
376 B
C#
using Contracts;
|
|
|
|
namespace Services.Abstractions
|
|
{
|
|
public interface IRegionService
|
|
{
|
|
Task<RegionDto> GetByIdAsync(Guid id);
|
|
Task<List<RegionDto>> GetAllAsync();
|
|
Task<RegionDto> CreateAsync(RegionDtoForCreate regionDto);
|
|
Task UpdateAsync(Guid regionId, RegionDtoForUpdate regionDto);
|
|
Task DeleteAsync(Guid regionId);
|
|
}
|
|
}
|