internal string deleteTest(int id, string userId) { bool deleted = _repo.DeleteTest(id, userId); if (!deleted) { throw new Exception("something went wrong with deleting"); } // } return("deleted"); }