Ejemplo n.º 1
0
        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)
                { }
            }
        }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
        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);
        }