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

            return(report);
        }