public Investor UpdateInvestor(Investor investor)
 {
     _context.Investors.Update(investor);
     _context.SaveChanges();
     return(investor);
 }
Ejemplo n.º 2
0
 public bool Create(Account account)
 {
     _context.Accounts.Add(account);
     _context.SaveChanges();
     return(true);
 }