public async Task <JsonResult> QTGetByQuiz(string id, string aid)
 {
     try {
         var data = QuizTakerService.GetByQIID(Guid.Parse(id));
         var vms  = QuizTakerService.SetSubDatas(data, Guid.Parse(aid));
         return(Success(vms));
     } catch { return(Failed(MessageUtilityService.ServerError())); }
 }
 public async Task <JsonResult> QTGetQAU()
 {
     try {
         var qiid = Guid.Parse(Request.Form["qiid"]);
         var aid  = Guid.Parse(Request.Form["aid"]);
         var data = QuizTakerService.GetByQIID(qiid);
         var vms  = QuizTakerService.SetSubDatas(data, aid);
         vms = QuizTakerService.SetUser(vms);
         return(Success(vms));
     } catch { return(Failed(MessageUtilityService.ServerError())); }
 }