예제 #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);
        }