Exemple #1
0
 public ProductService(ShopDbContext ctx, MyMapper mapper)
 {
     this.ctx    = ctx;
     this.mapper = mapper.CreateMappings();
 }
 public BlogService(ShopDbContext dbContext, MyMapper mapper)
 {
     this._ctx   = dbContext;
     this.mapper = mapper.CreateMappings();
 }