예제 #1
0
        public string SuaNguoiDung(NguoiDungContract nguoidung)
        {
            NguoiDungBDO nguoidungsesua = ChuyenContractThanhBDO(nguoidung);
            string       ketqua         = NguoiDungLogic.SuaNguoiDung(nguoidungsesua);

            return(ketqua);
        }
예제 #2
0
        public string ThemNguoiDung(NguoiDungContract nguoidung)
        {
            NguoiDungBDO nguoidungsethem = ChuyenContractThanhBDO(nguoidung);
            string       ketqua          = NguoiDungLogic.ThemNguoiDung(nguoidungsethem);

            return(ketqua);
        }
예제 #3
0
        public NguoiDungBDO ChuyenContractThanhBDO(NguoiDungContract nguoidung)
        {
            NguoiDungBDO kq = new NguoiDungBDO {
                NguoiDungID = nguoidung.NguoiDungID, MatKhau = nguoidung.MatKhau, Ten = nguoidung.Ten, NhomNguoiDungID = nguoidung.NhomNguoiDungID
            };

            return(kq);
        }