C# client to call api