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)); }
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)); }