public static ReservateBookMetaViewModel ToReservateBookMetaViewModel(Library_ReservateBook book)
 {
     return new ReservateBookMetaViewModel()
     {
         Id = book.BookId,
         ShortName = book.Library_Book.Library_Literature.ShortName,
         BookNumber = book.Library_Book.BookNumber,
         ReservateDate = book.ReservateDate.ToShortDateString(),
        Author = book.Library_Book.Library_Literature.MainAuthor
     };
 }
 public static ReservatorInfoViewModel ToReservatirInfoViewModel(Library_ReservateBook reservation)
 {
     var user = reservation.User.UserMeta.First();
     return new ReservatorInfoViewModel()
     {
         MiddleName = user.MiddleName,
         FirstName = user.FirstName,
         LastName = user.LastName,
         ReservateDate = reservation.ReservateDate.ToShortDateString(),
         BookName = reservation.Library_Book.Library_Literature.ShortName
     };
 }