Пример #1
0
        internal string Delete(int id, int vaultId, string userId)
        {
            var exists = _repo.GetVaultKeepDeleteById(id, vaultId, userId);

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