예제 #1
0
        public async Task <IActionResult> ModifySizeAsync(Int32 appSize)
        {
            #region 参数验证
            Check.IfNullOrZero(appSize);
            #endregion

            var userContext = await GetUserContextAsync();

            await _appServices.ModifyAppIconSizeAsync(userContext.Id, appSize);

            return(Json(new ResponseSimple
            {
                IsSuccess = true,
                Message = "更改图标大小成功"
            }));
        }