Example #1
0
        public ActionResult GetRoomType(int id)
        {
            var roomType = _roomTypeService.GetBy(id);

            if (roomType == null)
            {
                return(NotFound(new { success = false, message = "Không tìm thấy" }));
            }
            return(Ok(new { success = true, data = roomType, }));
        }