Example #1
0
        public Task Server(String command, String baseUrl, HttpResponseBase response)
        {
            Int64 userId = 0;

            if (UserId != null)
            {
                userId = UserId();
            }
            return(_baseController.Server(command, baseUrl, userId, response));
        }
Example #2
0
 async Task RunServer(String pathInfo)
 {
     try
     {
         var baseUrl = Request.QueryString["baseUrl"];
         await _baseController.Server(pathInfo, baseUrl, UserId, Response);
     } catch (Exception ex)
     {
         WriteExceptionStatus(ex);
     }
 }