Exemple #1
0
        public PlataView(int _CURENT_USER_ID, int _ID_DOSAR, string conStr)
        {
            this.ID_DOSAR = _ID_DOSAR;
            NomenclatoareRepository tpr = new NomenclatoareRepository(_CURENT_USER_ID, conStr);

            this.TipuriPlati = (Nomenclator[])tpr.GetAll("tip_plata").Result;

            Dosar d = new Dosar(_CURENT_USER_ID, conStr, _ID_DOSAR);

            this.Plati = (Plata[])d.GetPlati().Result;
        }