public void Remove(FordonModel fordon) { this.Remove(fordon); }
public void Edit(FordonModel fordon) { this.Entry(fordon).State = EntityState.Modified; this.SaveChanges(); }
public FordonModel Find(FordonModel fordon) { return Fordon.Find(fordon.Id); }
public void Add(FordonModel fordon) { Fordon.Add(fordon); this.SaveChanges(); }