public List <Directory> GetAll()
 {
     return(_directoryRepository.GetList()
            .OrderBy(x => x.Name)
            .ToList());
 }