public BaseRepository(ManageVehicleContext context) { this.context = context ?? throw new ArgumentNullException(nameof(context)); entities = context.Set <T>(); }
public VendaRepository(ManageVehicleContext context) : base(context) { this.context = context; }