public static Comment ToComment(CommentDataModel commentDataModel)
 {
     return(new Comment
     {
         Content = commentDataModel.Content,
         UserId = commentDataModel.AuthorId.Value
     });
 }
 public static Comment ToComment(CommentDataModel commentDataModel)
 {
     return new Comment
     {
         Content = commentDataModel.Content,
         UserId = commentDataModel.AuthorId.Value
     };
 }