public static string StaticWrite(IAppInfo appInfo, DateTime instant, string screen, string endpoint, string source,
                                         int duration, string executedBy, string errorId, string loginId, int userId, string username)
        {
            MobileRequestLog log = new MobileRequestLog();

            log.Write(appInfo, log.Id, instant, screen, endpoint, source, duration, executedBy, errorId, loginId, userId, username);
            return(log.Id);
        }
 public MobileRequestLog(MobileRequestLog obj)
 {
     log = new MobileRequestLogDefinition(obj.Instant, obj.EspaceId, obj.TenantId, obj.Screen,
                                          obj.Endpoint, obj.Source, obj.Duration, obj.ExecutedBy, obj.ErrorId, obj.RequestKey, obj.LoginId, obj.UserId,
                                          obj.EspaceName, obj.ApplicationName, obj.ApplicationKey, obj.Username);
 }