Import from internal git
This commit is contained in:
19
Generator/Services/ExportService.cs
Normal file
19
Generator/Services/ExportService.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Core;
|
||||
using Generator.Repo;
|
||||
|
||||
namespace Generator.Services;
|
||||
|
||||
public class ExportService
|
||||
{
|
||||
private readonly ExportRepo _repo;
|
||||
|
||||
public ExportService(ExportRepo repo)
|
||||
{
|
||||
_repo = repo;
|
||||
}
|
||||
|
||||
public void ExportAsPuml(ISpecFile file)
|
||||
{
|
||||
_repo.PlantUml(file);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user