Beispiel #1
0
 public ManufacturerRepository(ManufacturerContext dbContext,
                               IToDomainConverter <Entities.Manufacturer, IManufacturer> toModelConverter,
                               IToEntityConverter <IManufacturer, Entities.Manufacturer> toEntityConverter)
 {
     this.dbContext         = dbContext;
     this.toModelConverter  = toModelConverter;
     this.toEntityConverter = toEntityConverter;
 }
 public ManufacturerRepo(ManufacturerContext context)
 {
     _context = context;
 }