public IEnumerable <Responsable> Get() { using (var context = new gestion_livraisonContext()) { return(context.Responsables.ToList()); //if i want to get on city //return context.Ville.Where(Ville => Ville.Id==1).ToList(); } }
public LivreursController(gestion_livraisonContext context) { _context = context; }
public ClientParsController(gestion_livraisonContext context) { _context = context; }
public VillesController(gestion_livraisonContext context) { _context = context; }
public CommandesController(gestion_livraisonContext context) { _context = context; }