Ejemplo n.º 1
0
        public IActionResult Delete(int id)
        {
            RoomRepository repo = new RoomRepository();

            repo.DeleteRoomFromDatabase(id);
            return(RedirectToAction("Index", "Room"));
        }