Exemplo n.º 1
0
 public async Task <IActionResult> GetNotifications(
     [FromQuery] int?startYear,
     [FromQuery] int?endYear,
     [FromQuery] string[] allocationStatus,
     [FromQuery] string[] fundingStreamId,
     [FromQuery] string[] allocationLineId,
     [FromQuery] string[] ukprn,
     [FromQuery] string[] laCode,
     [FromQuery] bool?isAllocationLineContractRequired,
     [FromQuery] int?pageSize)
 {
     return(await _allocationFeedsService.GetNotifications(Request, null, startYear, endYear, fundingStreamId,
                                                           allocationLineId, allocationStatus, ukprn, laCode, isAllocationLineContractRequired, pageSize));
 }
Exemplo n.º 2
0
 public Task <IActionResult> GetNotifications(int?pageRef = null, string allocationStatuses = "", int?pageSize = null)
 {
     return(_allocationFeedsService.GetNotifications(pageRef, allocationStatuses, pageSize, Request));
 }