Beispiel #1
0
        public async Task <TData <TaskTypeEntity> > GetEntity(long id)
        {
            TData <TaskTypeEntity> obj = new TData <TaskTypeEntity>();

            obj.Result = await taskTypeService.GetEntity(id);

            if (obj.Result != null)
            {
                obj.Tag = 1;
            }
            return(obj);
        }