Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public ActionResult Edit(int?id) { if (id == null) { return(new HttpStatusCodeResult(HttpStatusCode.BadRequest)); } EmpService empService = new EmpService(); EMPLOYEE emp = empService.FindOne(id); var viewModel = empService.GetEditModel(emp); return(View(viewModel)); }