public IActionResult SubmitEvaluation(List <string> QuestionScore) { EvaluationDbManager.GetInstance().PushEvaluation(QuestionScore, CurrentUser.Storage().CreatePostViewModel.evaluationPostID, CurrentUser.Storage().CreatePostViewModel.userId, CurrentUser.Storage().CreatePostViewModel.TaskTypeId); return(RedirectToAction("Index", "Main")); }
public IActionResult ViewEvaluationHistory() { return(View("ViewEvaluationHistory", EvaluationDbManager.GetInstance().ListUserEvaluation(CurrentUser.Storage().UserDb.UserId))); }