Why and how generate models from C# to Typescript