Example #1
0
        public async Task <JsonResult> Create(AddDocumentViewModel model)
        {
            var result = new ResultModel();

            result = await _documentService.AddDocumentAsync(model);

            return(Json(result));
        }