public IHttpActionResult CreateChat(string friendId, string name)
 {
     try
     {
         service.AddNewChat(User.Identity.GetUserId(), friendId, name);
         return(Ok());
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }