public void DeleteRoomStatus()
        {
            Console.WriteLine("Print Id: ");
            int id = Int32.Parse(Console.ReadLine());

            roomStatusService.DeleteRoomStatus(id);
            Console.WriteLine("Object successful deleted");
        }
Exemplo n.º 2
0
 public IActionResult DeleteConfirmed(int id)
 {
     roomStatusService.DeleteRoomStatus(id);
     return(RedirectToAction(nameof(Index)));
 }