示例#1
0
 public void Add(Hotel hotel)
 {
     _hotelDal.Add(hotel);
 }
示例#2
0
 public void Add(Hotel entity)
 {
     _hotelDal.Add(entity);
 }
示例#3
0
 public IResult Add(Hotel entity)
 {
     _hotelDal.Add(entity);
     return(new SuccessResult(Messages <Hotel> .Added));
 }
示例#4
0
 public async Task <Hotel> AddHotel(Hotel hotel)
 {
     return(await hotelDal.Add(hotel));
 }