Esempio n. 1
0
        public HotelPackageEditViewModel Update(HotelPackageEditViewModel HotelPackage)
        {
            HotelPackage _HotelPackage = HotelPackageRepo.Update(HotelPackage.toModel());

            unitOfWork.commit();
            return(_HotelPackage.toEditViewModel());
        }
Esempio n. 2
0
 public void Remove(HotelPackageEditViewModel HotelPackage)
 {
     HotelPackageRepo.Remove(HotelPackage.toModel());
     unitOfWork.commit();
 }