public async Task <ActionResult> GetInstitute(long instituteId) { var presenter = new InstituteListPresenter(); await _getInstituteListUseCase.Handle(GetMInstituteListUseCaseRequest.CreateMInstituteRequest(instituteId), presenter); return(presenter.ContentResult); }
public async Task <ActionResult> GetAllInstitutes() { var presenter = new InstituteListPresenter(); await _getMInstituteListUseCase.Handle(GetMInstituteListUseCaseRequest.CreateAllMInstitutesRequest(), presenter); return(presenter.ContentResult); }