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);
        }
Exemple #2
0
        public ActionResult <List <ContractEventWithCareerInfo> > GetContracts(string contract, ODataQueryOptions <CareerLog> queryOptions)
        {
            List <ContractEventWithCareerInfo> events = _careerLogService.GetEventsForContract(contract, ContractEventType.Complete, queryOptions);

            return(events);
        }