internal string Delete(string userId, string id) { if (_repo.Delete(userId, id)) { return("exercise delorted."); } throw new Exception("Could not delete exercise"); }