public static BookViewModel Create(BookDomainModel bookDomain)
 {
     return new BookViewModel
     {
         Id = bookDomain.Id,
         Title = bookDomain.Title,
         IsBorrowed = bookDomain.IsBorrowed,
         GenreId = bookDomain.GenreId,
         UserId = bookDomain.UserId
     };
 }
 public void AssignBorrow(BookDomainModel model, bool isBorrowed)
 {
     model.IsBorrowed = isBorrowed;
 }
 public void AssignGenre(BookDomainModel model, int? genreId)
 {
     model.GenreId = genreId;
 }
 public void AssignTitle(BookDomainModel model, string title)
 {
     model.Title = title;
 }
 // public int Id { get; set; } I think, this is not assigned this way...
 public void AssignUser(BookDomainModel model, string userId)
 {
     model.UserId = userId;
 }