public APIResponse GetTilesCount(int UserID, string ModuleID) { return(new APIResponse { returnCode = 0, returnMessage = "Success", returnObject = _tilesService.GetTilesCount(UserID, ModuleID) }); }
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() }); } }