Пример #1
0
 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;
 }
Пример #2
0
 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;
 }
Пример #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;
 }
Пример #4
0
 public GsvRepository(IMapToNew <GroupSaleVehicle, GSVInsert> mapper)
 {
     this.mapper = mapper;
 }
Пример #5
0
 public CommentMapper(IMapToNew <User, Core.Models.User> userMapper)
 {
     this.userMapper = userMapper;
 }
Пример #6
0
 public GsvRepository(IMapToNew<GroupSaleVehicle, GSVInsert> mapper)
 {
     this.mapper = mapper;
 }
Пример #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;
 }