Ejemplo n.º 1
0
        public async Task <ActionResult> CreateChecklistQuestionRelatedQuestionMap(OapCheckListQuestionRelatedQuestionMap model)
        {
            var response = await GetClient <OapChecklistQuestionRelatedQuestionMapClient>().AddQuestionRelatedQuestionMapAsync(model);

            //var res = GetClient<OapChecklistQuestionRelatedQuestionMapClient>().GetAllAsync(model.OapChecklistQuestionId).Result.Result.Data;
            //return PartialView("OapChecklistRelatedQuestionMapPartial", res);
            return(RedirectToAction("Index"));
        }
 public UpdateQuestionRelatedQuestionMapRequest(OapCheckListQuestionRelatedQuestionMap questionRelatedQuestionMap)
 {
     QuestionRelatedQuestionMap = questionRelatedQuestionMap;
 }
Ejemplo n.º 3
0
 public WebApiResult <bool> UpdateQuestionRelatedQuestionMap([FromBody] OapCheckListQuestionRelatedQuestionMap questionRelatedQuestionMap)
 {
     return(TryCatch <UpdateQuestionRelatedQuestionMapRequest, bool>(new UpdateQuestionRelatedQuestionMapRequest(questionRelatedQuestionMap)));
 }
Ejemplo n.º 4
0
 public WebApiResult <OapCheckListQuestionRelatedQuestionMap> AddQuestionRelatedQuestionMap([FromBody] OapCheckListQuestionRelatedQuestionMap questionRelatedQuestionMap)
 {
     return(TryCatch <AddQuestionRelatedQuestionMapRequest, OapCheckListQuestionRelatedQuestionMap>(new AddQuestionRelatedQuestionMapRequest(questionRelatedQuestionMap)));
 }