public void Execute_id(EntryModel request)
 {
     _directoryRepository.Modify(Mapper.Map<DirectoryEntry>(request));
 }
 public EntryModel Execute(EntryModel request)
 {
     return Mapper.Map<EntryModel>(_directoryRepository.Add(Mapper.Map<DirectoryEntry>(request)));
 }
 public EntryModel Execute_id(EntryModel request)
 {
     return Mapper.Map<EntryModel>(_directoryRepository.Get(request.id));
 }
 public void Execute_id(EntryModel request)
 {
     _directoryRepository.Delete(x => x.Id == request.id);
 }