예제 #1
0
        public ActionResult Edit(LoaiSimModel loaiSimSoModel)
        {
            var result = SimSoDepRepository.SaveLoaiSimSo(loaiSimSoModel);

            return(RedirectToAction("LoaiSimSo", "Catagory"));
        }
예제 #2
0
        public ActionResult Add(LoaiSimModel loaiSimModel)
        {
            var result = SimSoDepRepository.AddLoaiSim(loaiSimModel);

            return(RedirectToAction("LoaiSimSo", "Catagory"));
        }