public async Task <JsonResult <List <HAQDetails> > > GetAll() { List <HAQDetails> appList = new List <HAQDetails>(); HAQDetailsRepository mRepo = new HAQDetailsRepository(HAQDetailsRepository.DEFAULT_TABLE_NAME, HAQDetailsRepository.DEFAULT_PART_KEY); appList = mRepo.GetAll(); return(Json <List <HAQDetails> >(appList)); }