public ActionResult SettingBusinessMoreInfo(SettingBusinessPostViewModel model)
        {
            var repo = new Repository<UserModel>(DbCollection.User);
            var user = GetOwnerUser();
            user.Business = true;
            user.BCompanyField = model.User.BCompanyField;
            user.BOverview = model.User.BOverview;
            repo.Update(user);

            // Update ShareSetting
            var repoShare = new Repository<ShareSettingModel>(DbCollection.ShareSetting);
            var share = repoShare.Gets().First(m => m.UserId.Equals(User.Identity.GetUserId()));
            share.BusinessCompanyName = model.ShareSetting.BusinessCompanyName;
            share.BusinessDateOfFormation = model.ShareSetting.BusinessDateOfFormation;
            share.BusinessRegistrationNo = model.ShareSetting.BusinessRegistrationNo;
            repoShare.Update(share);
            return Json(new { result = true, model });
        }
        public ActionResult SettingBusinessHeadOffice(SettingBusinessPostViewModel model)
        {
            var repo = new Repository<UserModel>(DbCollection.User);
            var user = GetOwnerUser();
            user.Business = true;
            user.BAddress = model.User.BAddress;
            user.BTelephone = model.User.BTelephone;
            user.BWebsite = model.User.BWebsite;
            user.BEmail = model.User.BEmail;
            user.BContactPerson = model.User.BContactPerson;
            repo.Update(user);

            // Update ShareSetting
            var repoShare = new Repository<ShareSettingModel>(DbCollection.ShareSetting);
            var share = repoShare.Gets().First(m => m.UserId.Equals(User.Identity.GetUserId()));
            share.BusinessCompanyName = model.ShareSetting.BusinessCompanyName;
            share.BusinessDateOfFormation = model.ShareSetting.BusinessDateOfFormation;
            share.BusinessRegistrationNo = model.ShareSetting.BusinessRegistrationNo;
            repoShare.Update(share);
            return Json(new { result = true, model });
        }