Ejemplo n.º 1
0
        public async Task <ServiceResponse> GetAll()
        {
            try
            {
                ServiceResponse res = new ServiceResponse();
                res.Data = await _baseBL.GetAll <T>(curentType);

                return(res);
            }
            catch (Exception e)
            {
                return(_baseBL.Error(e));
            }
        }