예제 #1
0
        public WhenAddResource()
        {
            //Arrange
            WillSaveResourceToService();

            //Act
            _actionResult = _resourceControllerSUT.Create(_resourceDetailViewModel);

            _detailPage = new DetailPage(_actionResult);
        }
예제 #2
0
        public WhenResourceDetailLoad()
        {
            _actionResult = _resourceControllerSUT.Details(Resource.ID);

            _detailPage = new DetailPage(_actionResult);
        }
예제 #3
0
        public WhenEditResourceUpdate()
        {
            _actionResult = _resourceControllerSUT.Edit(Resource.ID, _resourceDetailViewModel);

            _detailPage = new DetailPage(_actionResult);
        }