Beispiel #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);
        }
Beispiel #2
0
 public abstract BusinessLayerResult <posApplicationLogs> PosApplicationLogInsert(posApplicationLogs log);
Beispiel #3
0
 public BusinessLayerResult <posApplicationLogs> PosApplicationLogInsert(posApplicationLogs model)
 {
     return(posApplicationLogsFactory.PosApplicationLogInsert(model));
 }
Beispiel #4
0
 public BusinessLayerResult <posApplicationLogs> posApplicationLogInsert(posApplicationLogs model)
 {
     return(manager.PosApplicationLogInsert(model));
 }
Beispiel #5
0
 public override BusinessLayerResult <posApplicationLogs> PosApplicationLogInsert(posApplicationLogs log)
 {
     return(posApplicationLogService.ApplicationLogInsert(log));
 }