Code:
public static dynamic GetTaxonomies(int businessUnitId, int memberId, string businessUnitType) { using (var db = new ProtocolManagementDatabaseEntities()) { var taxonomies = (from taxonomy in db.taxonomies join businessUnitTaxonomy in db.businessunittaxonomies on taxonomy.taxonomyid equals businessUnitTaxonomy.taxonomyid