Esempio n. 1
0
        internal VaultKeep Create(VaultKeep newVaultKeep)
        {
            VaultKeep data = _vaultKeepRepo.FindByKeepId(newVaultKeep);

            if (data == null)
            {
                return(_vaultKeepRepo.Create(newVaultKeep));
            }
            throw new Exception("Keep already in vault");
        }