Exemplo n.º 1
0
        public async Task ApplicationLogAdded(string functionName,
                                              ErrorMessageCode errorCode,
                                              ProjectNames projectName,
                                              ApplicationType appType, DateTime _time,
                                              string errorText,
                                              int userid = 0, int Moduleid = 0)
        {
            PosApplicationLogsProcess applicationLogManager = PosApplicationLogsProcess.PosApplicationLogProcessMultiton(conHelper);

            posApplicationLogs appLog = new posApplicationLogs
            {
                UserID           = userid,
                ModuleID         = Moduleid,
                ProjectName      = projectName,
                AppType          = appType,
                CreatedDate      = _time,
                ErrorMessageCode = errorCode,
                ErrorText        = "{" + functionName + " }" + " { " + errorText + " }"
            };

            applicationLogManager.posApplicationLogInsert(appLog);
        }
Exemplo n.º 2
0
 public abstract BusinessLayerResult <posApplicationLogs> PosApplicationLogInsert(posApplicationLogs log);
Exemplo n.º 3
0
 public BusinessLayerResult <posApplicationLogs> PosApplicationLogInsert(posApplicationLogs model)
 {
     return(posApplicationLogsFactory.PosApplicationLogInsert(model));
 }
Exemplo n.º 4
0
 public BusinessLayerResult <posApplicationLogs> posApplicationLogInsert(posApplicationLogs model)
 {
     return(manager.PosApplicationLogInsert(model));
 }
Exemplo n.º 5
0
 public override BusinessLayerResult <posApplicationLogs> PosApplicationLogInsert(posApplicationLogs log)
 {
     return(posApplicationLogService.ApplicationLogInsert(log));
 }