// POST: api/Author
        public HttpResponseMessage Post([FromBody] AuthorEntity entity)
        {
            var author = AuthorBLL.CreateAuthor(entity);

            if (author == null)
            {
                return(Request.CreateResponse(HttpStatusCode.NotFound));
            }

            return(Request.CreateResponse(HttpStatusCode.Created, author));
        }