Ejemplo n.º 1
0
        public string Delete(VaultKeep vaultKeep)
        {
            VaultKeep exists = _repo.GetId(vaultKeep.VaultId, vaultKeep.KeepId);

            if (exists == null)
            {
                throw new Exception("nothing here broh");
            }
            _repo.Delete(exists.Id);
            return("it's gone broh");
        }