Пример #1
0
        public bool Modify(iPow.Infrastructure.Data.DataSys.Sys_SightVouchItem entity, iPow.Infrastructure.Data.DataSys.Sys_AdminUser operUser)
        {
            var res = false;

            if (entity != null && entity.ItemID > 0)
            {
                try
                {
                    sightVouchItemRepository.Modify(entity);
                    res = true;
                }
                catch (Exception ex)
                {
                }
            }
            return(res);
        }
Пример #2
0
        public bool DeleteTrue(iPow.Infrastructure.Data.DataSys.Sys_SightVouchItem entity, iPow.Infrastructure.Data.DataSys.Sys_AdminUser operUser)
        {
            var res = false;

            if (entity != null)
            {
                try
                {
                    sightVouchItemRepository.Delete(entity);
                    sightVouchItemRepository.Uow.Commit();
                    res = true;
                }
                catch (Exception ex)
                {
                }
            }
            return(res);
        }
Пример #3
0
 public bool Delete(iPow.Infrastructure.Data.DataSys.Sys_SightVouchItem entity, iPow.Infrastructure.Data.DataSys.Sys_AdminUser operUser)
 {
     throw new NotImplementedException();
 }