public Gerador(decimal oidPprojeto, string diretorioGit, string apiUrl) { DiretorioGit = diretorioGit; ApiUrl = apiUrl; Projeto = BuscarProjeto(oidPprojeto); }
private void GerarImports(ProjetoEntidade proj, Service service) { SB.AppendLine("import { BaseService, RequestType, ResponseType } from \"@intech/react-service\";"); foreach (var import in service.Imports) { var imp = import.Replace("Array<", "").Replace(">", ""); SB.AppendLine($"import {{ {imp} }} from \"../entidades/{imp}\";"); } SB.AppendLine(); }