示例#1
0
 public ActionResult Create([FromBody] Article collection)
 {
     try
     {
         dbService.AddArticle(collection, user);
         return(Ok());
     }
     catch (Exception e)
     {
         return(Json(e.Message));
     }
 }