public TestOutputModel SomeAction(TestInputModel value)
 {
     return new TestOutputModel
     {
         Prop1 = value.Prop1
     };
 }
 public TestOutputModel3 ThirdAction(TestInputModel value)
 {
     return new TestOutputModel3
     {
         Prop1 = value.Prop1
     };
 }
 public TestOutputModel2 AnotherAction(TestInputModel value)
 {
     return new TestOutputModel2
     {
         Prop1 = value.Prop1,
         Name = value.Name,
         Age = value.Age
     };
 }
Exemple #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();
        }
Exemple #6
0
 public void RedirectAction(TestInputModel value)
 {
 }
 public void RedirectAction(TestInputModel value)
 {
 }