Example #1
0
        public async Task <JsonResult <List <HAQDetails> > > GetAllForRole(string role)
        {
            List <HAQDetails> appList = new List <HAQDetails>();

            HAQDetailsRepository mRepo = new HAQDetailsRepository(HAQDetailsRepository.DEFAULT_TABLE_NAME, HAQDetailsRepository.DEFAULT_PART_KEY);

            appList = mRepo.GetAllForRole(role);

            return(Json <List <HAQDetails> >(appList));
        }