Skip to content

Commit

Permalink
Merge pull request ALCOpenSource#200 from Honeyloveet/fix/backend-rem…
Browse files Browse the repository at this point in the history
…ove-DinkToPdf

Fix/backend remove dink to pdf
  • Loading branch information
Honeyloveet authored Jun 21, 2023
2 parents 4533214 + 4d83655 commit f1bcf7d
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 125 deletions.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion backend/src/mms.Application/mms.Application.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<PackageReference Include="AspNetCoreHero.Results" Version="1.1.1" />
<PackageReference Include="AutoMapper" Version="12.0.1" />
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" />
<PackageReference Include="DinkToPdf" Version="1.0.8" />
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" Version="11.5.2" />
<PackageReference Include="MediatR" Version="12.0.1" />
<PackageReference Include="MediatR.Extensions.Microsoft.DependencyInjection" Version="11.0.0" />
Expand Down
17 changes: 0 additions & 17 deletions backend/src/mms.api/Controllers/ReportController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,22 +128,5 @@ public async Task<IActionResult> PutReport(string id, [FromBody] UpdateReportReq

return Ok(result);
}

[HttpGet("report/{id}")]
public async Task<IActionResult> PutReport(string id)
{
DownloadReportCommand command = new()
{
Id = id
};

var result = await Mediator.Send(command);
if (result.Succeeded == false)
{
return BadRequest(result);
}

return Ok(result);
}
}
}
13 changes: 0 additions & 13 deletions backend/src/mms.api/mms.api.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
<PropertyGroup Condition=" '$(RunConfiguration)' == 'https' " />
<PropertyGroup Condition=" '$(RunConfiguration)' == 'http' " />
<ItemGroup>
<PackageReference Include="DinkToPdf" Version="1.0.8" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="7.0.5" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="7.0.3" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.5" />
Expand All @@ -38,16 +37,4 @@
<ProjectReference Include="..\mms.Infrastructure\mms.Infrastructure.csproj" />
</ItemGroup>

<ItemGroup>
<None Update="libraries\libwkhtmltox.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="libraries\libwkhtmltox.dylib">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="libraries\libwkhtmltox.so">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>

</Project>

0 comments on commit f1bcf7d

Please sign in to comment.