コード例 #1
0
 public APIResponse GetTilesCount(int UserID, string ModuleID)
 {
     return(new APIResponse
     {
         returnCode = 0,
         returnMessage = "Success",
         returnObject = _tilesService.GetTilesCount(UserID, ModuleID)
     });
 }
コード例 #2
0
 public APIResponse GetTilesCount(string ModuleID, String UserGUID)
 {
     try
     {
         return(new APIResponse
         {
             returnCode = 0,
             returnMessage = "Success",
             returnObject = _tilesService.GetTilesCount(ModuleID, UserGUID)
         });
     }
     catch (Exception ex)
     {
         return(new APIResponse
         {
             returnCode = -1,
             returnMessage = ex.Message.ToString()
         });
     }
 }