internal void DeleteTask(int id) { TaskRepo.DeleteTask(id); //RepoCompany.DeleteTask(id); notifyObservers(new TaskEvent()); }