// GET: Employee public ActionResult Index() { BusinessEmployee BusinessEmployee = new BusinessEmployee(); var retorno = BusinessEmployee.GetAllEmployees(null); return(View(retorno)); }
public ActionResult ListEmployees() { var retorno = BusinessEmployee.GetAllEmployees(null); return(Json(retorno, JsonRequestBehavior.AllowGet)); }