public Directory Get(int id)
 {
     return(_directoryRepository.Get(x => x.Id == id));
 }