CSharp:Refactor perform* method in services.