public ActionResult Delete(int id) { var result = controlService.DeleteRoom(id); if (result == "deleted") { return(NoContent()); } else { return(NotFound()); } }