예제 #1
0
        public ActionResult RetrieveCandidatePrePlacementReportByBatchPrePlacementId(int batchPrePlacementId, Paging paging, List <OrderBy> orderBy)
        {
            bool isSuperAdmin   = User.IsInAnyRoles("SuperAdmin");
            var  organisationId = UserOrganisationId;
            var  centreId       = UserCentreId;
            var  data           = _nidanBusinessService.RetrieveCandidatePrePlacementReportGrid(organisationId, e => (isSuperAdmin || e.CentreId == centreId) && e.BatchpreplacementId == batchPrePlacementId, orderBy, paging);

            return(this.JsonNet(data));
        }