Example #1
0
 public CompanyRepository(RoutingDbContext context, IPropertyMappingService propertyMappingService)
 {
     this._context = context ?? throw  new ArgumentNullException(nameof(context));
     this._propertyMappingService = propertyMappingService ?? throw new ArgumentNullException(nameof(propertyMappingService));
 }
Example #2
0
 public RouteRepository(RoutingDbContext dbContext)
 {
     _dbContext = dbContext;
 }