Ejemplo n.º 1
0
        public Task <Office> GetAsync(int id, IRequestContext context, CancellationToken cancellation)
        {
            var office = _officeProvider.GetOffice(id);

            office.Kegs.ToList().ForEach(c => c.Office = null);
            return(Task.FromResult(office));
        }