Esempio n. 1
0
 public async Task Add(Game game)
 {
     game.CreatedDateTime   = DateTime.Now;
     game.CreatedByUsername = "******";
     await _context.AddAsync(game);
 }
 public async Task Add(Ship ship)
 {
     ship.CreatedDateTime   = DateTime.Now;
     ship.CreatedByUsername = "******";
     await _context.AddAsync(ship);
 }