public async Task Delete([FromBody] BlogDTO blogDTO)
 {
     var blog = automapper.Map <BlogDTO, BlogEntity>(blogDTO);
     await blogservices.Delete(blog);
 }
 public async Task Post([FromBody] BlogDTO blogDTO)
 {
     var blog = automapper.Map <BlogDTO, Blog>(blogDTO);
     await blogservices.Create(blog);
 }