예제 #1
0
 public void Post([FromBody] Author author)
 {
     _authorManager.CreateAuthor(author);
 }
 public ActionResult Create(string name, string password)
 {
     authorManager.CreateAuthor(name, password);
     return(Ok());
 }