예제 #1
0
        public bool Modify(iPow.Infrastructure.Data.DataSys.Sys_HotelDailyRates2 entity, iPow.Infrastructure.Data.DataSys.Sys_AdminUser operUser)
        {
            var res = false;

            if (entity != null && entity.DailyRatesID > 0)
            {
                try
                {
                    hotelDailyRates2Repository.Modify(entity);
                    res = true;
                }
                catch (Exception ex)
                {
                }
            }
            return(res);
        }
예제 #2
0
        public bool DeleteTrue(iPow.Infrastructure.Data.DataSys.Sys_HotelDailyRates2 entity, iPow.Infrastructure.Data.DataSys.Sys_AdminUser operUser)
        {
            var res = false;

            if (entity != null)
            {
                try
                {
                    hotelDailyRates2Repository.Delete(entity);
                    hotelDailyRates2Repository.Uow.Commit();
                    res = true;
                }
                catch (Exception ex)
                {
                }
            }
            return(res);
        }
예제 #3
0
 public bool Delete(iPow.Infrastructure.Data.DataSys.Sys_HotelDailyRates2 entity, iPow.Infrastructure.Data.DataSys.Sys_AdminUser operUser)
 {
     throw new NotImplementedException();
 }