public IEnumerable <CompanyRead> GetCompanies() { return(_dataAccessRead.GetCompanies()); }
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()); }