public IActionResult Post([FromBody] Author value)
        {
            if (value == null)
            {
                return(BadRequest());
            }
            var createdAuthor = _authorsRepository.Add(value);


            return(CreatedAtRoute("GetAuthor", new { id = createdAuthor.authorid }, createdAuthor));
        }