Example #1
0
        public async Task <IActionResult> DeleteSolution(int id)
        {
            await _solutionsService.DeleteSolutionAsync(id);

            return(RedirectToAction("SolutionDetails"));
        }
Example #2
0
 public async Task DeleteSolution(long solutionId)
 {
     await _solutionsService.DeleteSolutionAsync(solutionId);
 }