public async Task <IActionResult> DeleteConfirmed(int id)
 {
     _repo.RemoveSchecduledTaskById(id);
     return(RedirectToAction(nameof(Index)));
 }
 public void Delete(int id)
 {
     _repo.RemoveSchecduledTaskById(id);
 }