Exemplo n.º 1
0
        public virtual async Task <ActionServiceResult> GetEntities()
        {
            var response = new ActionServiceResult();
            var entities = await _baseEntityService.GetEntities();

            response.Data = entities;
            return(response);
        }
Exemplo n.º 2
0
        public virtual async Task <ActionResult <IEnumerable <T> > > GetEntities()
        {
            var entities = await _baseEntityService.GetEntities();

            return(Ok(entities));
        }