public async Task <IActionResult> DeleteTest(int id)
        {
            try
            {
                await _testAppService.DeleteAsync(id);

                return(RedirectToAction("ListTests", "Test"));
            }
            catch (Exception ex)
            {
                return(RedirectToAction("Error", "Test", new { ex.Message }));
            }
        }