示例#1
0
        public ActionResult Edit(int id = 0)
        {
            CreateTarifModel model = new CreateTarifModel();
            model.Tarif = tarifManager.GetById(id);
            model.Districts = tarifManager.getDistrictsList();

            return View(model);
        }
示例#2
0
        public ActionResult Create()
        {
            CreateTarifModel model = new CreateTarifModel();

            model.Districts = tarifManager.getDistrictsList();

            return View(model);
        }