コード例 #1
0
        public async Task <IActionResult> DeleteApartment(int id)
        {
            var apartmentToDelete = await _repo.DeleteApartment(id);

            return(Ok(apartmentToDelete));
        }
コード例 #2
0
ファイル: ApartmentService.cs プロジェクト: BliniUBT/airubt
 public void DeleteApartment(int id)
 {
     _apartmentRepository.DeleteApartment(id);
 }