public async Task <IActionResult> ConvertProject(int id) { bool add = await _projectRepository.AddToConvertProjects(id); if (add == true) { bool success = await _projectRepository.ConvertProject(id); return(RedirectToAction(nameof(GetAllProjects), new { delete = add })); } return(null); }