public void AddPeer(FreeFilesServerConsole.EF.Peer Peer) { FileRepository fileRepository = new FileRepository(_freeFilesObjectContext as FreeFilesServerConsole.IUnitOfWork); fileRepository.AddPeer(Peer); }