Exemplo n.º 1
0
        public async Task <ActionResult> GetNameFacility(long nameFacilityId)
        {
            var presenter = new NameFacilityListPresenter();
            await _getNameFacilityListUseCase.Handle(GetNameFacilityListUseCaseRequest.CreateNameFacilityRequest(nameFacilityId), presenter);

            return(presenter.ContentResult);
        }
Exemplo n.º 2
0
        public async Task <ActionResult> GetNameofSportsGroundFilter(string nameofSportsGround)
        {
            var presenter = new NameFacilityListPresenter();
            await _getNameFacilityListUseCase.Handle(GetNameFacilityListUseCaseRequest.CreateNameofSportsgroundNamefacilitiesRequest(nameofSportsGround), presenter);

            return(presenter.ContentResult);
        }
Exemplo n.º 3
0
        public async Task <ActionResult> GetAllNameFacilities()
        {
            var presenter = new NameFacilityListPresenter();
            await _getNameFacilityListUseCase.Handle(GetNameFacilityListUseCaseRequest.CreateAllNameFacilitiesRequest(), presenter);

            return(presenter.ContentResult);
        }