コード例 #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);
        }