// GET: api/Contribuintes/5 public IEnumerable <Dependente> Get(int id) { IList <Dependente> c = new DependenteBusiness().GetAll(); c.Where(d => d.ContribuinteID == id); return(c); }
// GET: api/Contribuintes public IEnumerable <Dependente> Get() { IList <Dependente> c = new DependenteBusiness().GetAll(); return(c); }
public DependenteController() { business = new DependenteBusiness(); }