Пример #1
0
        internal string Delete(int VaultId, int KeepId, string UserId)
        {
            VaultKeep exists = _repo.FindToDelete(VaultId, KeepId, UserId);

            if (exists == null)
            {
                throw new Exception("Invalid ID Combination");
            }
            _repo.Delete(exists.Id);
            return("Successfully Deleted");
        }