public async Task <ActionResult> GetDistrictFilter(string district) { var presenter = new DataCallingFirefighterListPresenter(); await _getDataCallingFirefighterListUseCase.Handle(GetDataCallingFirefighterListUseCaseRequest.CreateDistrictParkingTerminalsRequest(district), presenter); return(presenter.ContentResult); }
public async Task <ActionResult> GetDataCallingFirefighter(long dataCallingFirefighterId) { var presenter = new DataCallingFirefighterListPresenter(); await _getDataCallingFirefighterListUseCase.Handle(GetDataCallingFirefighterListUseCaseRequest.CreateDataCallingFirefighterRequest(dataCallingFirefighterId), presenter); return(presenter.ContentResult); }