public virtual void SaveOrUpdate() { Benzin benzin = Benzin.GetByPayed(this.payed_at); if (benzin == null) { this.Save(); } else { this.Update(); } }
public Control() { theBenzin = Benzin.GetAll(); theGroupMonth = new GroupMonth(theBenzin); }