Exemple #1
0
        public static List <Groza> GetByZOC(string ZOC)
        {
            GrozaRepository repo = new GrozaRepository();

            return((List <Groza>)repo.GetByZOC(ZOC));
        }
Exemple #2
0
        public virtual void Update()
        {
            IRepository <Groza> repo = new GrozaRepository();

            repo.Update(this);
        }
Exemple #3
0
        public static List <Groza> GetByPeriod(DateTime dateBgn, DateTime dateEnd)
        {
            GrozaRepository repo = new GrozaRepository();

            return((List <Groza>)repo.GetByPeriod(dateBgn, dateEnd));
        }
Exemple #4
0
        public virtual void Save()
        {
            IRepository <Groza> repo = new GrozaRepository();

            repo.Save(this);
        }