Example #1
0
 public TestOutputModel SomeAction(TestInputModel value)
 {
     return new TestOutputModel
     {
         Prop1 = value.Prop1
     };
 }
Example #2
0
 public TestOutputModel3 ThirdAction(TestInputModel value)
 {
     return new TestOutputModel3
     {
         Prop1 = value.Prop1
     };
 }
Example #3
0
 public TestOutputModel2 AnotherAction(TestInputModel value)
 {
     return new TestOutputModel2
     {
         Prop1 = value.Prop1,
         Name = value.Name,
         Age = value.Age
     };
 }
Example #4
0
 public TestOutputModel2 AnotherAction(TestInputModel value)
 {
     return(new TestOutputModel2
     {
         Prop1 = value.Prop1,
         Name = value.Name,
         Age = value.Age
     });
 }
        public void SetUp()
        {
            _uow = MockRepository.GenerateMock<IUnitOfWork>();
            _insideBehavior = MockRepository.GenerateStub<IControllerActionBehavior>();
            _behavior = new access_the_database_through_a_unit_of_work(_uow) {InsideBehavior = _insideBehavior};
            _input = new TestInputModel();
            _output = new TestOutputModel();

            _actionFunc = i => new TestOutputModel();
        }
Example #6
0
 public void RedirectAction(TestInputModel value)
 {
 }
Example #7
0
 public void RedirectAction(TestInputModel value)
 {
 }