public Train Create(Train train) { dbContext.Trains.Add(train); dbContext.SaveChanges(); return(train); }
public User Create(User user) { dbContext.Users.Add(user); dbContext.SaveChanges(); return(user); }
public Line Create(Line line) { dbContext.Lines.Add(line); dbContext.SaveChanges(); return(line); }