Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Content Management API Sample #1
requested review from
Jul 16, 2019
Liath left a comment
We should get you setup with Resharper, it should take care of a lot of these comments on style things for you.
Also, your JSON payloads are kind of hard to reason about. I don't come from C# land but there has to be a cleaner syntax for this.
C# 6 introduced string interpolation for a cleaner string generation with variables: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/tokens/interpolated
One general note, technically speaking UNIFI should always be written in all caps. We don't have the documented anywhere, I've tried finding the original email where this style guide was originally written but yeah, just for consistency throughout our platform, I try to make sure that any "UNIFI" text visible to customers is always written in all caps.