Created
July 4, 2019 06:12
-
-
Save gashupl/81742acdb30a2c921af30603affb5d0d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public override void Execute(IPluginExecutionContext pluginExecutionContext, IOrganizationServiceFactory serviceFactory, ITracingService tracingService) | |
{ | |
var orgService = serviceFactory.CreateOrganizationService(pluginExecutionContext.UserId); | |
var opportunityRepo = new OpportunityRepository(orgService); | |
var data = opportunityRepo.GetSomeData(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment