예제 #1
0
 public bool DeleteRoom(int id)
 {
     return(_roomsRepository.DeleteRoom(id));
 }
예제 #2
0
 public ActionResult DeleteRoom(int id)
 {
     repository.DeleteRoom(id);
     return(Ok());
 }
예제 #3
0
 public IActionResult Delete(int id)
 {
     rooms.DeleteRoom(id);
     return(Ok());
 }