Exemplo n.º 1
0
        public IActionResult Add(Room room)
        {
            RoomRepository repo = new RoomRepository();

            repo.AddRoomToDatabase(room);
            return(RedirectToAction("Index", "Room"));
        }