private void GenerateRepositoryInterface(ProjectDataModelDto model) { var sb = new StringBuilder(); sb.AppendLine($"using {Name}.Entities;"); sb.AppendLine(); sb.AppendLine($"namespace {Name}.Repositories"); sb.AppendLine("{"); sb.AppendLine($" public interface I{model.Name}Repository: IRepository<{model.Name}>"); sb.AppendLine(" {"); sb.AppendLine(" }"); sb.AppendLine("}"); sb.AppendLine(); _projectHelper.AddFileToProject(Name, $"Repositories/I{model.Name}Repository.cs", sb.ToString(), modelId: model.Id); }