public void Create(CoachEntity coach) { _context.Entry <CoachEntity>(coach).State = EntityState.Added; _context.SaveChanges(); }
public void Create(AthleteEntity athlete) { _context.Entry <AthleteEntity>(athlete).State = EntityState.Added; _context.SaveChanges(); }