public ActionResult <List <ContractEventWithCareerInfo> > GetCompletionsForContract(string contract) { _telemetry.TrackEvent("CareerLogsController-GetCompletionsForContract", new Dictionary <string, string> { { nameof(contract), contract } }); List <ContractEventWithCareerInfo> events = _careerLogService.GetEventsForContract(contract, ContractEventType.Complete); return(events); }
public ActionResult <List <ContractEventWithCareerInfo> > GetContracts(string contract, ODataQueryOptions <CareerLog> queryOptions) { List <ContractEventWithCareerInfo> events = _careerLogService.GetEventsForContract(contract, ContractEventType.Complete, queryOptions); return(events); }