public IHttpActionResult UpdateAuthor([FromUri] Int32 id, [FromBody] AuthorDTO author)
 {
     try
     {
         if (author == null)
         {
             throw new ArgumentNullException(nameof(author));
         }
         repository.ChangeAuthor(id, author.FullName);
         return(Ok());
     }
     catch (Exception exception)
     {
         return(BadRequest(exception.Message));
     }
 }
 public IHttpActionResult ChangeAuthor([FromUri(Name = "id")] Int32 id, [FromBody] String fullName)
 {
     repository.ChangeAuthor(id, fullName);
     return(Ok());
 }