public ActionResult <List <CareerLog> > ODataGetCareerLogs(ODataQueryOptions <CareerLog> queryOptions) { var res = _careerLogService.Get(queryOptions); if (!IsLocalhost) { res.ForEach(c => c.RemoveNonPublicData()); } return(res); }
public ActionResult <List <CareerLog> > GetCareerLogs() { _telemetry.TrackEvent("CareerLogsController-GetCareerLogs"); var res = _careerLogService.Get(); if (!IsLocalhost) { res.ForEach(c => c.RemoveNonPublicData()); } return(res); }