コード例 #1
0
        private NhaCungCap getNhaCungCap()
        {
            NhaCungCap ncc = new NhaCungCap();

            ncc.mancc  = _nccService.SinhMaNhaCungCap().Trim();
            ncc.tenncc = txtTenNCC.Text.Trim();
            ncc.diachi = txtDiaChi.Text.Trim();
            ncc.sdt    = txtDienThoai.Text.Trim();
            ncc.email  = txtEmail.Text.Trim();
            return(ncc);
        }