public ContractView(int _CURENT_USER_ID, int _ID_PROCES, string conStr) { Proces p = new Proces(_CURENT_USER_ID, conStr, _ID_PROCES); this.CurContract = (Contract)p.GetContract().Result; ContracteRepository cr = new ContracteRepository(_CURENT_USER_ID, conStr); this.Contracte = (Contract[])cr.GetAll().Result; }
public SentintaView(int _CURENT_USER_ID, int _ID_PROCES_STADIU, string conStr) { ProcesStadiu ps = new ProcesStadiu(_CURENT_USER_ID, conStr, _ID_PROCES_STADIU); this.CurSentinta = (Sentinta)ps.GetSentinta().Result; ContracteRepository cr = new ContracteRepository(_CURENT_USER_ID, conStr); this.Sentinte = (Sentinta[])cr.GetAll().Result; }
public ContractView(int _CURENT_USER_ID, string conStr) { ContracteRepository cr = new ContracteRepository(_CURENT_USER_ID, conStr); this.Contracte = (Contract[])cr.GetAll().Result; }