public DashboardController(WAProjectContext context, IPedidoRepository pedidoRepository) { _context = context ?? throw new ArgumentNullException(nameof(context)); _pedidoRepository = pedidoRepository; _context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking; }
public PedidoRepository(WAProjectContext context) { _context = context; }
public EncomendaRepository(WAProjectContext context) { _context = context; }
public EquipeRepository(WAProjectContext context) { _context = context; }