public ActionResult Info(string MemberGuid, int?MemberId, string MemberName, string MemberLogin, string Password,
                                 string Address, int?Sex, string Tel,
                                 string Email, string Phone, string Notes, bool?Status, string ImageFile)
        {
            shMemberService _member = new shMemberService();

            shMember member = _member.ThemMoi_HieuChinhMember(
                MemberGuid,
                0,
                MemberName,
                MemberLogin,
                Password,
                ImageFile,
                Address,
                Sex,
                Email,
                Tel,
                Phone,
                Notes,
                true,
                DateTime.Now,
                null,
                null
                );

            return(View(member));
        }
        public ActionResult Create(int?MemberId, string MemberGuiId,
                                   string MemberName, string MemberLogin, string Password,
                                   string Address, int?Sex, string Tel,
                                   string Email, string Phone, string Notes, bool?Status,
                                   string ImageFile)
        {
            using (var context = new ShopOnlineDb())
            {
                using (var dbContextTransaction = context.Database.BeginTransaction())
                {
                    try
                    {
                        shMemberService _member = new shMemberService();
                        shMember        member  = _member.ThemMoi_HieuChinhMember(
                            MemberGuiId,
                            null,
                            MemberName,
                            MemberLogin,
                            Password,
                            ImageFile,
                            Address,
                            Sex,
                            Email,
                            Tel,
                            Phone,
                            Notes,
                            Status,
                            DateTime.Now,
                            null,
                            null
                            );

                        dbContextTransaction.Commit();
                    }
                    catch (Exception ex)
                    {
                        dbContextTransaction.Rollback();
                    }
                }
            }


            return(RedirectToAction("Index"));
        }