Exemplo n.º 1
0
        public async Task <JsonResult> IsCorrect_Answer(int id)
        {
            string error = null;

            try
            {
                await TestService.Answer_IsCorrect(id);
            }
            catch (Exception ex)
            {
                error = ex.Message;
            }

            return(Json(new { error }));
        }