public async Task <TData <BranchEntity> > GetEntity(long id) { TData <BranchEntity> obj = new TData <BranchEntity>(); obj.Data = await branchService.GetEntity(id); await GetBranchBelong(obj.Data); if (obj.Data != null) { obj.Tag = 1; } return(obj); }