public SiteItemRepository(IDbContext dbContext,
                           IMapToNew <Db.Entities.SiteItem, SiteItem> dbSiteItemMapper,
                           IMapToNew <SiteItem, Db.Entities.SiteItem> coreSiteItemMapper)
 {
     this.dbContext          = dbContext;
     this.dbSiteItemMapper   = dbSiteItemMapper;
     this.coreSiteItemMapper = coreSiteItemMapper;
 }
 public PeopleController(IPeopleService peopleService, 
                         IMapToNew<Core.Objects.Person, Person> mapper,
                         IMapToNew<Core.Objects.PersonWithHistory, PersonWithHistory> fullPersonMapper, 
                         IMapToNew<Person, Core.Objects.Person> personMapper)
 {
     _peopleService = peopleService;
     _personModelMapper = mapper;
     _fullPersonModelMapper = fullPersonMapper;
     _personMapper = personMapper;
 }
Exemple #3
0
 public DbContext(IDataBaseFactory dataBaseFactory,
                  IMapToNew <Post, Entities.Post> postMapper,
                  IMapToNew <PostSummary, Entities.PostSummary> postSummaryMapper,
                  IMapToNew <Comment, Entities.Comment> commentMapper,
                  IMapToNew <User, Entities.User> userMapper)
 {
     this.dataBaseFactory   = dataBaseFactory;
     this.postMapper        = postMapper;
     this.commentMapper     = commentMapper;
     this.userMapper        = userMapper;
     this.postSummaryMapper = postSummaryMapper;
 }
 public GsvRepository(IMapToNew <GroupSaleVehicle, GSVInsert> mapper)
 {
     this.mapper = mapper;
 }
Exemple #5
0
 public CommentMapper(IMapToNew <User, Core.Models.User> userMapper)
 {
     this.userMapper = userMapper;
 }
 public GsvRepository(IMapToNew<GroupSaleVehicle, GSVInsert> mapper)
 {
     this.mapper = mapper;
 }
Exemple #7
0
 public PostSummaryRepository(IDbContext dbContext, IMapToNew <PostSummary, Core.Models.PostSummary> postSummaryMapper)
 {
     this.dbContext         = dbContext;
     this.postSummaryMapper = postSummaryMapper;
 }
 public TflRoadStatusService(IMapToNew <Road, RoadDto> mapper)
 {
     _mapper = mapper;
 }
 public PersonalisationBogusService(IPersonalisationToPersonalisationState mapper)
 {
     _mapper = mapper;
 }