示例#1
0
 public IHttpActionResult AddRoom([FromBody] RoomDTO room)
 {
     if (_bll.AddRoom(room))
     {
         return(Ok());
     }
     return(InternalServerError());
 }
示例#2
0
 public void AddRoom(RoomDetailVM roomDetailVM)
 {
     _roomBLLProvider.AddRoom(roomDetailVM);
 }