public WhenAddResource() { //Arrange WillSaveResourceToService(); //Act _actionResult = _resourceControllerSUT.Create(_resourceDetailViewModel); _detailPage = new DetailPage(_actionResult); }
public WhenResourceDetailLoad() { _actionResult = _resourceControllerSUT.Details(Resource.ID); _detailPage = new DetailPage(_actionResult); }
public WhenEditResourceUpdate() { _actionResult = _resourceControllerSUT.Edit(Resource.ID, _resourceDetailViewModel); _detailPage = new DetailPage(_actionResult); }