Example #1
0
 public IActionResult Edit(Programs program)
 {
     return((programService.UpdateByID(program)) ?
            RedirectToAction("Index") :
            (IActionResult)View());
 }