コード例 #1
0
        public async Task <ActionResult> GetInstitute(long instituteId)
        {
            var presenter = new InstituteListPresenter();
            await _getInstituteListUseCase.Handle(GetMInstituteListUseCaseRequest.CreateMInstituteRequest(instituteId), presenter);

            return(presenter.ContentResult);
        }
コード例 #2
0
        public async Task <ActionResult> GetAllInstitutes()
        {
            var presenter = new InstituteListPresenter();
            await _getMInstituteListUseCase.Handle(GetMInstituteListUseCaseRequest.CreateAllMInstitutesRequest(), presenter);

            return(presenter.ContentResult);
        }