public async Task <T> GetById(TK id) { var model = await _table.FindAsync(id); foreach (var reference in Context.Entry(model).References) { await reference.LoadAsync(); } return(model); }