/// <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);
        }
Exemple #2
0
        public ActionResult EmployeeImage()
        {
            var report = new Rotativa.ActionAsImage("Index");

            return(report);
        }