protected override void Because_of() { _source = new Stuff { Id = 4, Name = "Foo", RankCode = "Bar" }; _dest = Mapper.Map<Stuff, StuffView>(_source); }
protected override void Because_of() { _source = new Stuff { Id = 4, Name = "Foo", RankCode = "Bar" }; _dest = Mapper.Map <Stuff, StuffView>(_source); }
private void Init() { departmentsView = new DepartmentsView(); stuffView = new StuffView(); deptController = new DepartmentController(departmentsView); deptController.AttachView(departmentsView); deptController.AttachView(stuffView); //stuffController = new StuffController(); }