Beispiel #1
0
 public IEnumerable <Method> GetAll() => methodRepository.GetAll();
Beispiel #2
0
        public async Task <IEnumerable <MethodServiceObject> > GetAll(CancellationToken token)
        {
            var serviceResult = await _methodRepository.GetAll(token);

            return(_mapper.Map <IEnumerable <MethodServiceObject> >(serviceResult));
        }