public ActionResult CandidateFinalPlacementByBatchId(int batchId, Paging paging, List <OrderBy> orderBy) { var organisationId = UserOrganisationId; var centreId = UserCentreId; bool isSuperAdmin = User.IsInAnyRoles("SuperAdmin"); var data = _nidanBusinessService.RetrieveCandidateFinalPlacementGrid(organisationId, e => (isSuperAdmin || e.CentreId == centreId) && e.BatchId == batchId, orderBy, paging).Items.LastOrDefault(); var result = new List <CandidateFinalPlacementGrid> { data }; return(this.JsonNet(result)); }