/// <summary> /// employee details as image /// </summary> /// <param name="id"></param> /// <returns></returns> public ActionResult EmployeeImage(int id) { var report = new Rotativa.ActionAsImage("Employee", new { id = id }); return(report); }
public ActionResult EmployeeImage() { var report = new Rotativa.ActionAsImage("Index"); return(report); }