Example #1
0
 public IEnumerable <CompanyRead> GetCompanies()
 {
     return(_dataAccessRead.GetCompanies());
 }
Example #2
0
 public static IEnumerable <CompanyRead> Run([HttpTrigger(AuthorizationLevel.Anonymous, "get", "post", Route = "Company")] HttpRequest req, TraceWriter log)
 {
     log.Info("C# HTTP trigger function processed GetCompanyById.");
     return(_dataAccessRead.GetCompanies());
 }