Exemple #1
0
 public async Task <Result> EditVillage(int villageId, [FromBody] StructureEntryRequestDto dto) =>
 await _nationalSocietyStructureService.EditVillage(villageId, dto.Name);
Exemple #2
0
 public async Task <Result <StructureResponseDto.StructureVillageDto> > CreateVillage(int districtId, [FromBody] StructureEntryRequestDto dto) =>
 await _nationalSocietyStructureService.CreateVillage(districtId, dto.Name);
Exemple #3
0
 public async Task <Result> EditRegion(int regionId, [FromBody] StructureEntryRequestDto dto) =>
 await _nationalSocietyStructureService.EditRegion(regionId, dto.Name);
Exemple #4
0
 public async Task <Result> EditDistrict(int districtId, [FromBody] StructureEntryRequestDto dto) =>
 await _nationalSocietyStructureService.EditDistrict(districtId, dto.Name);
Exemple #5
0
 public async Task <Result <StructureResponseDto.StructureRegionDto> > CreateRegion(int nationalSocietyId, [FromBody] StructureEntryRequestDto dto) =>
 await _nationalSocietyStructureService.CreateRegion(nationalSocietyId, dto.Name);