Beispiel #1
0
        // GET: api/Contribuintes/5
        public IEnumerable <Dependente> Get(int id)
        {
            IList <Dependente> c = new DependenteBusiness().GetAll();

            c.Where(d => d.ContribuinteID == id);
            return(c);
        }
Beispiel #2
0
        // GET: api/Contribuintes
        public IEnumerable <Dependente> Get()
        {
            IList <Dependente> c = new DependenteBusiness().GetAll();

            return(c);
        }
Beispiel #3
0
 public DependenteController()
 {
     business = new DependenteBusiness();
 }