Exemplo n.º 1
0
        public Task <Office> GetAsync(int id, IRequestContext context, CancellationToken cancellation)
        {
            var query = _repository.Get(id);

            return(Task.FromResult(AutoMapper.Mapper.Map <Office>(query)));
        }