예제 #1
0
        public async Task <IQueryable <User> > GetAllAsync()
        {
            var result = await _dapperBase.Query <User>("sp_GetAllUsers", null);

            return(result);
        }
        public async Task <IQueryable <LearningPath> > GetAll()
        {
            var result = await _dapperBaseRepository.Query <LearningPath>("sp_GetAllLearningPath", null);

            return(result);
        }
예제 #3
0
        public async Task <IQueryable <Role> > GetAllAsync()
        {
            var result = await _dapperBase.Query <Role>("sp_GetAllRoles", null);

            return(result.AsQueryable());
        }