示例#1
0
 public ActionResult Edit(EmployeePermit permit)
 {
     if (ModelState.IsValid)
     {
         _permitService.Update(permit);
         return(RedirectToAction("Index"));
     }
     return(View(permit));
 }
示例#2
0
 public IHttpActionResult Put(List <PermitDto> list)
 {
     return(Ok(_service.Update(list)));
 }