Exemple #1
0
        public async Task <TData <MenuAuthorizeEntity> > GetEntity(long id)
        {
            var obj = new TData <MenuAuthorizeEntity>();

            obj.Data = await _menuAuthorizeService.GetEntity(id);

            obj.Tag = 1;
            return(obj);
        }
Exemple #2
0
 public MenuAuthorizeEntity GetEntity(string keyValue)
 {
     return(service.GetEntity(keyValue));
 }