Esempio n. 1
0
        public bool DeleteTrue(Data.DataSys.Sys_UserRoles entity, Data.DataSys.Sys_AdminUser operUser)
        {
            var res = false;

            if (entity != null)
            {
                try
                {
                    userRoleRepository.Delete(entity);
                    userRoleRepository.Uow.Commit();
                    res = true;
                }
                catch (Exception ex)
                {
                }
            }
            return(res);
        }
Esempio n. 2
0
 public void Delete(iPow.Infrastructure.Data.DataSys.Sys_UserRoles userRole)
 {
     userRoleRepository.Delete(userRole);
     userRoleRepository.Uow.Commit();
 }