public void Save(Borrower borrower)
 {
     _lendingLibraryDbContext.AttachEntity(borrower);
     _lendingLibraryDbContext.SaveChanges();
 }
 public void Delete(Borrower borrower)
 {
     var borrow = Get(borrower.Id);
     _lendingLibraryDbContext.Borrowers.Remove(borrow);
     _lendingLibraryDbContext.SaveChanges();
 }