Beispiel #1
0
        public bool Add(iPow.Infrastructure.Data.DataSys.Sys_MvcControllerAction entity, iPow.Infrastructure.Data.DataSys.Sys_AdminUser operUser)
        {
            var res = false;

            if (entity != null)
            {
                try
                {
                    actionRepository.Add(entity);
                    actionRepository.Uow.Commit();
                    res = true;
                }
                catch (Exception ex)
                {
                }
            }
            return(res);
        }
Beispiel #2
0
 public void Add(iPow.Infrastructure.Data.DataSys.Sys_MvcControllerAction action)
 {
     actionRepository.Add(action);
     actionRepository.Uow.Commit();
 }