public AdminController(TruckContext context, IRepos repos, IStorage storage) { _context = context; _repos = repos; _storage = storage; }
public Repository(TruckContext context) { _context = context; }
public FindTruckQuery(TruckContext context) => this.context = context;
public TruckModelServices(TruckContext contextDb) { _contextDb = contextDb; }
public ChassisExistsValidator(TruckContext context, string errorMessage) { this.context = context; this.errorMessage = errorMessage; }
public DeleteTruckCommand(TruckContext context) => this.context = context;
public VeiculoRepository(TruckContext context) : base(context) { }
public CategoriaRepository(TruckContext context) : base(context) { }
public GetTrucksQuery(TruckContext context) => this.context = context;
public Repository(TruckContext context, IConfiguration configuration) { Context = context; DbSet = context.Set <TEntity>(); Configuration = configuration; }