Exemplo n.º 1
0
        public bool suaHD(eCV ehd)
        {
            Cong_Viec t = new Cong_Viec();

            t.NOIDUNGCV = ehd.NoidungCV;
            t.MACV      = ehd.MaCV;
            return(cvdal.suaCV(t));
        }
Exemplo n.º 2
0
        public eCV getCV(string ma)
        {
            eCV       ehd = new eCV();
            Cong_Viec t   = new Cong_Viec();

            t             = cvdal.getCV(ma);
            ehd.NoidungCV = t.MACV;
            ehd.MaCV      = t.MACV;
            return(ehd);
        }
Exemplo n.º 3
0
        public List <eCV> getAllCV()
        {
            List <eCV>       listecv = new List <eCV>();
            List <Cong_Viec> listcv  = new List <Cong_Viec>();

            listcv = cvdal.getAllCV();
            foreach (Cong_Viec t in listcv)
            {
                eCV ehd = new eCV();
                ehd.NoidungCV = t.NOIDUNGCV;
                ehd.MaCV      = t.MACV;
                listecv.Add(ehd);
            }
            return(listecv);
        }