public IHttpActionResult CreatePublication([FromBody] PublicationModel publication)
 {
     if (ModelState.IsValid)
     {
         var publicationDTO = new PublicationDTO
         {
             Header = publication.Header,
             Author = new UserDTO {
                 Email = User.Identity.Name
             },
             Content      = publication.Content,
             UsersWhoLike = null,
             DateOfCreate = DateTime.Now
         };
         _publicationService.Create(publicationDTO);
         return(Ok("Publication was creat successful"));
     }
     else
     {
         return(BadRequest("Incorrect input data!"));
     }
 }