示例#1
0
        public ActionResult Edit(NHAXUATBANModel emp)
        {
            HttpResponseMessage response = GlobalVariables.WebApiClient.PutAsJsonAsync("NHAXUATBAN/" + emp.MaNXB, emp).Result;

            return(RedirectToAction("Index"));
        }
示例#2
0
        public ActionResult Create(NHAXUATBANModel emp)
        {
            HttpResponseMessage response = GlobalVariables.WebApiClient.PostAsJsonAsync("NHAXUATBAN", emp).Result;

            return(RedirectToAction("Index"));
        }