예제 #1
0
        public IActionResult UploadCover(IFormFile files, int id)
        {
            var result = _magService.UpdateCover(files, id);

            if (result.IsOk())
            {
                return(Json(200));
            }
            return(Json(result.Status));
        }