public static void AddLogInfo(iPow.Infrastructure.Data.DataSys.Sys_AdminUserLog log) { var logRepository = CreateLogger(); if (logRepository != null && log != null) { try { logRepository.Add(log); logRepository.Uow.Commit(); } catch (System.Exception ex) { } } }
public bool Modify(iPow.Infrastructure.Data.DataSys.Sys_AdminUserLog entity, iPow.Infrastructure.Data.DataSys.Sys_AdminUser operUser) { var res = false; if (entity != null && entity.Id > 0) { try { adminUserLogRepository.Modify(entity); res = true; } catch (Exception ex) { } } return(res); }
public bool Add(iPow.Infrastructure.Data.DataSys.Sys_AdminUserLog enitty, iPow.Infrastructure.Data.DataSys.Sys_AdminUser operUser) { var res = false; if (enitty != null) { try { adminUserLogRepository.Add(enitty); adminUserLogRepository.Uow.Commit(); res = true; } catch (Exception ex) { } } return(res); }