Beispiel #1
0
        public async Task <IEnumerable <ObjectiveDTO> > GetObjectives(int statusTypeKey)
        {
            StatusTypes?statusType = null;

            if (Enum.IsDefined(typeof(StatusTypes), statusTypeKey))
            {
                statusType = (StatusTypes)statusTypeKey;
            }

            return(await _readerService.GetObjectives(statusType));
        }