Exemple #1
0
 //Create a new account
 public void CreateAccount(Account account)
 {
     _context.Account.Add(account);
     _context.SaveChanges();
 }
Exemple #2
0
 //Lisää pankki
 public void Create(Bank bank)
 {
     _context.Bank.Add(bank);
     _context.SaveChanges();
 }
 //Create a new customer
 public void CreateCustomer(Customer customer)
 {
     _context.Customer.Add(customer);
     _context.SaveChanges();
 }