Esempio n. 1
0
 protected override CSharpFileConfig DefineFileConfig()
 {
     return(new CSharpFileConfig(
                className: $"{Model.Name}",
                @namespace: $"{this.GetNamespace()}",
                relativeLocation: ModelHasFolderTemplateExtensions.GetFolderPath(this)));
 }
 protected override CSharpFileConfig DefineFileConfig()
 {
     return(new CSharpFileConfig(
                className: $"{Model.Name.RemoveSuffix("RestController", "Controller", "Service")}Service",
                @namespace: $"{this.GetNamespace()}",
                relativeLocation: ModelHasFolderTemplateExtensions.GetFolderPath(this)));
 }