示例#1
0
 public async Task <IActionResult> CheckNotViewedAnswer([FromBody] int userId)
 {
     try
     {
         return(Json(
                    new
         {
             Success = true,
             Data = await _testRepository.CheckNotViewedAnswer(userId)
         }));
     }
     catch (Exception exception)
     {
         return(Json(new { Success = false, Data = exception.Message }));
     }
 }