예제 #1
0
        public async Task <JsonResult> SaveApp(AppDto appDto)
        {
            ResponseResult responseResult;

            try
            {
                await AppBusiness.SaveAppAsync(appDto);

                responseResult = new ResponseResult(true, "");
            }
            catch (Exception)
            {
                responseResult = new ResponseResult(false, "");
            }
            return(Json(responseResult, JsonRequestBehavior.AllowGet));
        }