private Edit ( int module_id ) : ActionResult | ||
module_id | int | |
return | ActionResult |
public ActionResult Edit(int module_id)
{
var module = ctx.modules.Where(x => x.id == module_id).FirstOrDefault();
if (module != null)
{
return View(module);
}
throw new ArgumentException("Process not found!");
}