public static List <Groza> GetByZOC(string ZOC) { GrozaRepository repo = new GrozaRepository(); return((List <Groza>)repo.GetByZOC(ZOC)); }
public virtual void Update() { IRepository <Groza> repo = new GrozaRepository(); repo.Update(this); }
public static List <Groza> GetByPeriod(DateTime dateBgn, DateTime dateEnd) { GrozaRepository repo = new GrozaRepository(); return((List <Groza>)repo.GetByPeriod(dateBgn, dateEnd)); }
public virtual void Save() { IRepository <Groza> repo = new GrozaRepository(); repo.Save(this); }