/// <summary> /// To get list of requests updated by logged in user /// </summary> /// <param name="userId">logged in user id</param> /// <param name="pageNumber"> current page number </param> /// <returns>request list along with total count </returns> public IHttpActionResult GetMyRequests(int userId, int pageNumber) { var myRequests = dashboardBL.GetMyAttendedRepairRequest(userId, pageNumber); return(Json(myRequests)); }