public async Task <IActionResult> LastFiveMins(int collectionYear, CancellationToken cancellationToken)
        {
            var model = _jsonSerializationService.Deserialize <JobProcessingModel <JobProcessingDetailLookupModel> >(await _jobProcessingDetailService.GetJobsProcessingDetailsForCurrentPeriodLast5Mins((short)JobStatusType.Completed, cancellationToken));

            model.CollectionYear    = collectionYear;
            model.JobProcessingType = JobProcessingTypeLastFiveMins;
            return(View("Index", model));
        }
Ejemplo n.º 2
0
 public async Task <JobProcessingModel <JobProcessingDetailLookupModel> > GetJobProcessingDetailsForLastFiveMins()
 {
     return(_jsonSerializationService.Deserialize <JobProcessingModel <JobProcessingDetailLookupModel> >(await _jobProcessingDetailService.GetJobsProcessingDetailsForCurrentPeriodLast5Mins((short)JobStatusType.Completed, CancellationToken.None)));
 }