Example #1
0
        /// <summary>
        /// To get list of all approved requests
        /// </summary>
        /// <param name="pageNumber">current page number</param>
        /// <returns>request list along with total count</returns>
        public IHttpActionResult GetApprovedRequests(int pageNumber)
        {
            var approvedRequests = dashboardBL.GetApprovedRequests(pageNumber);

            return(Json(approvedRequests));
        }