Exemplo n.º 1
0
        public ActionResult <List <Company> > Get(int id)
        {
            AppDB     db      = provider.GetRequiredService <AppDB>();
            CompanyDA company = new CompanyDA(db);

            return(company.getById(id));
        }