public async void WhenTheStudentSelectATutorWithId(int tutorId) { _careertutorController = new CareerTutorsController(_tutorService.Object, _mapper.Object); _okResult = (OkObjectResult)await _careertutorController.GetAsync(_tutor.Id); }
public async void WhenITryToLookForATutorship() { _controller = new CareerTutorsController(mockTutorService.Object, mockMapper.Object); _okResult = await _controller.GetAllByCareerIdAsync(carrerTemp.Id); }