Exemple #1
0
    public AddStorageDialogResult?AddStorage()
    {
        var vm = new AddStorage(_services);

        if (!_interactionService.AddStorage(vm))
        {
            return(null);
        }
        var type = vm.GetStorageType();
        var name = vm.GetName();
        var path = vm.GetPath();

        return(new AddStorageDialogResult(type, name, path));
    }