Example #1
0
        public ActionResult Edit(int id)
        {
            var fran = jlService.GetFranchisee(id);

            var model = new backend.Models.FranchiseeModel();

            model.Address   = fran.Address;
            model.ApplyTime = fran.ApplyTime;
            model.Email     = fran.Email;
            model.Name      = fran.Name;
            model.Phone     = fran.Phone;
            model.Weixin    = fran.Weixin;
            model.Status    = fran.Status;

            return(View(model));
        }