예제 #1
0
        public IHttpActionResult Post(ImageHotel hotel)
        {
            var imageManager = new ImageHotelManagement();

            imageManager.Create(hotel);
            apiResponse = new ApiResponse();
            return(Ok(apiResponse));
        }
예제 #2
0
        public override BaseEntity BuildObject(Dictionary <string, object> row)
        {
            var imageHotel = new ImageHotel
            {
                Value = DB_COL_VALUE,
                Type  = DB_COL_TYPE,
                Hotel = DB_COL_HOTEL
            };

            return(imageHotel);
        }
예제 #3
0
 public void Delete(ImageHotel image) => crudImage.Delete(image);
예제 #4
0
 public void Update(ImageHotel image) => crudImage.Update(image);
예제 #5
0
 public ImageHotel RetrieveById(ImageHotel image) => crudImage.Retrieve <ImageHotel>(image);
예제 #6
0
 public void Create(ImageHotel image) => crudImage.Create(image);