public async Task <TData <SheetEntity> > GetEntity(long id) { TData <SheetEntity> obj = new TData <SheetEntity>(); obj.Result = await sheetService.GetEntity(id); if (obj.Result != null) { obj.Tag = 1; } return(obj); }
public async Task <TData <SheetEntity> > GetEntity(long id) { TData <SheetEntity> obj = new TData <SheetEntity>(); obj.Result = await sheetService.GetEntity(id); if (obj.Result != null) { obj.Tag = 1; } return(obj); }