Exemplo n.º 1
0
        public ActionResult Edit(NhaMangModel loaiSimSoModel)
        {
            var result = SimSoDepRepository.SaveNhaMang(loaiSimSoModel);

            return(RedirectToAction("NhaMang", "Catagory"));
        }
Exemplo n.º 2
0
        public ActionResult Add(NhaMangModel nhaMangModel)
        {
            var result = SimSoDepRepository.AddNhaMang(nhaMangModel);

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