Skip to content

Commit

Permalink
build(1.0.0.2): publish alpha version
Browse files Browse the repository at this point in the history
Merge pull request #220 from LiveDevTeam/dev
  • Loading branch information
live-dev999 committed Mar 9, 2022
2 parents 9af2163 + 726e044 commit 6ed5aa6
Show file tree
Hide file tree
Showing 58 changed files with 1,923 additions and 80 deletions.
51 changes: 50 additions & 1 deletion .github/workflows/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: 2.2.x

- name: C-Gen - Restore dependencies
run: dotnet restore
working-directory: src/Services/c-gen

- name: C-Gen - Build
run: dotnet build --no-restore
working-directory: src/Services/c-gen
Expand All @@ -44,10 +46,57 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: src/Services/TestResults/coverage.info


- name: E-Sender - Restore dependencies
run: dotnet restore
working-directory: src/Services/e-sender

- name: E-Sender - Build
run: dotnet build --no-restore
working-directory: src/Services/e-sender

- name: E-Sender - Unit Tests(Tests.O2NextGen.ESender.Api)
run: dotnet test Tests.O2NextGen.ESender.Api.csproj --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutput==../../../TestResults/ /p:CoverletOutputFormat=lcov
working-directory: src/Services/e-sender/Tests/Tests.O2NextGen.ESender.Api/

- name: E-Sender - Unit Tests (Tests.O2NextGen.ESender.Data)
run: dotnet test Tests.O2NextGen.ESender.Data.csproj --no-build --verbosity normal /p:MergeWith=src/Services/TestResults/coverage.info /p:CollectCoverage=true /p:CoverletOutput=../../../TestResults/ /p:CoverletOutputFormat=lcov
working-directory: src/Services/e-sender/Tests/Tests.O2NextGen.ESender.Data/

- name: E-Sender - Unit Tests (Tests.O2NextGen.ESender.Impl)
run: dotnet test Tests.O2NextGen.ESender.Impl.csproj --no-build --verbosity normal /p:MergeWith=src/Services/TestResults/coverage.info /p:CollectCoverage=true /p:CoverletOutput=../../../TestResults/ /p:CoverletOutputFormat=lcov
working-directory: src/Services/e-sender/Tests/Tests.O2NextGen.ESender.Impl/

- name: E-Sender - Unit Tests (Tests.O2NextGen.ESender.Business)
run: dotnet test Tests.O2NextGen.ESender.Business.csproj --no-build --verbosity normal /p:MergeWith=src/Services/TestResults/coverage.info /p:CollectCoverage=true /p:CoverletOutput=../../../TestResults/ /p:CoverletOutputFormat=lcov
working-directory: src/Services/e-sender/Tests/Tests.O2NextGen.ESender.Business/

# - name: E-Sender - Integration Tests(IntegrationTests.O2NextGen.ESender.Api)
# run: dotnet test IntegrationTests.O2NextGen.ESender.Api.csproj --no-build --verbosity normal /p:MergeWith=src/Services/TestResults/coverage.info /p:CollectCoverage=true /p:CoverletOutput=../../../TestResults/ /p:CoverletOutputFormat=lcov
# working-directory: src/Services/e-sender/Tests/IntegrationTests.O2NextGen.ESender.Api/

# - name: E-Sender - Integration Tests(IntegrationTests.O2NextGen.ESender.Data)
# run: dotnet test IntegrationTests.O2NextGen.ESender.Data.csproj --no-build --verbosity normal /p:MergeWith=src/Services/TestResults/coverage.info /p:CollectCoverage=true /p:CoverletOutput=../../../TestResults/ /p:CoverletOutputFormat=lcov
# working-directory: src/Services/e-sender/Tests/IntegrationTests.O2NextGen.ESender.Data/

# - name: E-Sender - Integration Tests(IntegrationTests.O2NextGen.ESender.Impl)
# run: dotnet test IntegrationTests.O2NextGen.ESender.Impl.csproj --no-build --verbosity normal /p:MergeWith=src/Services/TestResults/coverage.info /p:CollectCoverage=true /p:CoverletOutput=../../../TestResults/ /p:CoverletOutputFormat=lcov
# working-directory: src/Services/e-sender/Tests/IntegrationTests.O2NextGen.ESender.Impl/

# - name: E-Sender - Integration Tests(IntegrationTests.O2NextGen.ESender.Business)
# run: dotnet test IntegrationTests.O2NextGen.ESender.Business.csproj --no-build --verbosity normal /p:MergeWith=src/Services/TestResults/coverage.info /p:CollectCoverage=true /p:CoverletOutput=../../../TestResults/ /p:CoverletOutputFormat=lcov
# working-directory: src/Services/e-sender/Tests/IntegrationTests.O2NextGen.ESender.Business/

- name: Publish coverage report to coveralls.io
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: src/Services/TestResults/coverage.info

- name: Auth - Restore dependencies
run: dotnet restore
working-directory: src/Services/auth

- name: Auth - Build
run: dotnet build --no-restore
working-directory: src/Services/auth
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/e-sender.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: e-sender

on:
push:
branches:
- master
- dev
pull_request:
branches:
- master
- dev

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 2.2.x
- name: Restore dependencies
run: dotnet restore
working-directory: src/Services/e-sender
- name: Build
run: dotnet build --no-restore
working-directory: src/Services/e-sender
- name: Test
run: dotnet test --no-build --verbosity normal
working-directory: src/Services/e-sender
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,4 +218,5 @@ build number - Build Number
3 - release
sample: 1.1.3.3 like (1.1-r.3)
revision - git revision
```
```
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
using NUnit.Framework;

namespace O2NG.Sdk.UnitTester.NetCore.Mappers
{
public class BaseMappingTests
{
[SetUp]
public void Setup()
{
}

[Test]
public void Test1()
{
Assert.Pass();
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
<PackageReference Include="xunit" Version="2.4.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
using Xunit;

namespace O2NG.Sdk.IntegrationTester.NetCore
{
public class Tests
{
[Fact]
public void Test1()
{

}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NUnit" Version="3.12.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.16.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
</ItemGroup>

<ItemGroup>
<Compile Remove="O2NG.Sdk.IntegrationTester.NetCore\obj\Debug\netcoreapp2.1\.NETCoreApp,Version=v2.1.AssemblyAttributes.cs" />
<Compile Remove="O2NG.Sdk.IntegrationTester.NetCore\obj\Debug\netcoreapp2.1\O2NG.Sdk.IntegrationTester.NetCore.Program.cs" />
<Compile Remove="O2NG.Sdk.IntegrationTester.NetCore\obj\Debug\netcoreapp2.1\O2NG.Sdk.IntegrationTester.NetCore.AssemblyInfo.cs" />
<Compile Remove="O2NG.Sdk.IntegrationTester.NetCore\Mappers\UnitTest1.cs" />
<Compile Remove="O2NG.Sdk.IntegrationTester.NetCore\UnitTest1.cs" />
<Compile Remove="O2NG.Sdk.IntegrationTester.NetCore\UnitTest1.cs" />
</ItemGroup>
<ItemGroup>
<None Remove="O2NG.Sdk.IntegrationTester.NetCore\obj\O2NG.Sdk.IntegrationTester.NetCore.csproj.nuget.g.props" />
<None Remove="O2NG.Sdk.IntegrationTester.NetCore\obj\O2NG.Sdk.IntegrationTester.NetCore.csproj.nuget.g.targets" />
<None Remove="O2NG.Sdk.IntegrationTester.NetCore\obj\project.nuget.cache" />
<None Remove="O2NG.Sdk.IntegrationTester.NetCore\obj\O2NG.Sdk.IntegrationTester.NetCore.csproj.nuget.dgspec.json" />
<None Remove="O2NG.Sdk.IntegrationTester.NetCore\obj\project.assets.json" />
<None Remove="O2NG.Sdk.IntegrationTester.NetCore\obj\Debug\netcoreapp2.1\O2NG.Sdk.IntegrationTester.NetCore.csproj.FileListAbsolute.txt" />
<None Remove="O2NG.Sdk.IntegrationTester.NetCore\obj\Debug\netcoreapp2.1\O2NG.Sdk.IntegrationTester.NetCore.dll" />
<None Remove="O2NG.Sdk.IntegrationTester.NetCore\obj\Debug\netcoreapp2.1\O2NG.Sdk.IntegrationTester.NetCore.csproj.AssemblyReference.cache" />
<None Remove="O2NG.Sdk.IntegrationTester.NetCore\obj\Debug\netcoreapp2.1\O2NG.Sdk.IntegrationTester.NetCore.pdb" />
<None Remove="O2NG.Sdk.IntegrationTester.NetCore\obj\Debug\netcoreapp2.1\O2NG.Sdk.IntegrationTester.NetCore.assets.cache" />
<None Remove="O2NG.Sdk.IntegrationTester.NetCore\obj\Debug\netcoreapp2.1\O2NG.Sdk.IntegrationTester.NetCore.csproj.CoreCompileInputs.cache" />
<None Remove="O2NG.Sdk.IntegrationTester.NetCore\obj\Debug\netcoreapp2.1\O2NG.Sdk.IntegrationTester.NetCore.genruntimeconfig.cache" />
<None Remove="O2NG.Sdk.IntegrationTester.NetCore\obj\Debug\netcoreapp2.1\O2NG.Sdk.IntegrationTester.NetCore.GeneratedMSBuildEditorConfig.editorconfig" />
<None Remove="O2NG.Sdk.IntegrationTester.NetCore\obj\Debug\netcoreapp2.1\O2NG.Sdk.IntegrationTester.NetCore.AssemblyInfoInputs.cache" />
<None Remove="O2NG.Sdk.IntegrationTester.NetCore\bin\Debug\netcoreapp2.1\O2NG.Sdk.IntegrationTester.NetCore.deps.json" />
<None Remove="O2NG.Sdk.IntegrationTester.NetCore\bin\Debug\netcoreapp2.1\xunit.runner.reporters.netcoreapp10.dll" />
<None Remove="O2NG.Sdk.IntegrationTester.NetCore\bin\Debug\netcoreapp2.1\O2NG.Sdk.IntegrationTester.NetCore.dll" />
<None Remove="O2NG.Sdk.IntegrationTester.NetCore\bin\Debug\netcoreapp2.1\xunit.runner.visualstudio.dotnetcore.testadapter.dll" />
<None Remove="O2NG.Sdk.IntegrationTester.NetCore\bin\Debug\netcoreapp2.1\xunit.runner.utility.netcoreapp10.dll" />
<None Remove="O2NG.Sdk.IntegrationTester.NetCore\bin\Debug\netcoreapp2.1\O2NG.Sdk.IntegrationTester.NetCore.runtimeconfig.json" />
<None Remove="O2NG.Sdk.IntegrationTester.NetCore\bin\Debug\netcoreapp2.1\O2NG.Sdk.IntegrationTester.NetCore.pdb" />
<None Remove="O2NG.Sdk.IntegrationTester.NetCore\bin\Debug\netcoreapp2.1\O2NG.Sdk.IntegrationTester.NetCore.runtimeconfig.dev.json" />
<None Remove="O2NG.Sdk.IntegrationTester.NetCore\obj\Debug\netcoreapp2.1\O2NG.Sdk.IntegrationTester.NetCore.csproj.AssemblyReference.cache" />
<None Remove="Mappers\" />
</ItemGroup>
<ItemGroup>
<Folder Include="Mappers\" />
</ItemGroup>
</Project>
41 changes: 41 additions & 0 deletions src/SDKs/O2NG.Tester.Sdk/O2NG.Tester.Sdk.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 25.0.1700.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "WPF", "WPF", "{0BD21E13-AC0B-4567-823C-CE1B4D286489}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "XAMARIN", "XAMARIN", "{EF06ACB4-9E8C-47B5-B709-DBE7A4BED4E4}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".NetCore", ".NetCore", "{B94CA396-F1CA-4326-B5E3-7C4FFA843076}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "O2NG.Sdk.UnitTester.NetCore", "O2NG.Sdk.UnitTester.NetCore\O2NG.Sdk.UnitTester.NetCore.csproj", "{A93A8701-CF00-446D-9B51-8C762B896BB6}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "O2NG.Sdk.IntegrationTester.NetCore", "O2NG.Sdk.UnitTester.NetCore\O2NG.Sdk.IntegrationTester.NetCore\O2NG.Sdk.IntegrationTester.NetCore.csproj", "{953F39E9-9D11-4C7F-AF76-9EEC2FA12644}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A93A8701-CF00-446D-9B51-8C762B896BB6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A93A8701-CF00-446D-9B51-8C762B896BB6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A93A8701-CF00-446D-9B51-8C762B896BB6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A93A8701-CF00-446D-9B51-8C762B896BB6}.Release|Any CPU.Build.0 = Release|Any CPU
{953F39E9-9D11-4C7F-AF76-9EEC2FA12644}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{953F39E9-9D11-4C7F-AF76-9EEC2FA12644}.Debug|Any CPU.Build.0 = Debug|Any CPU
{953F39E9-9D11-4C7F-AF76-9EEC2FA12644}.Release|Any CPU.ActiveCfg = Release|Any CPU
{953F39E9-9D11-4C7F-AF76-9EEC2FA12644}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {4670C972-682D-4FA8-9097-095CB3E02EBB}
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{A93A8701-CF00-446D-9B51-8C762B896BB6} = {B94CA396-F1CA-4326-B5E3-7C4FFA843076}
{953F39E9-9D11-4C7F-AF76-9EEC2FA12644} = {B94CA396-F1CA-4326-B5E3-7C4FFA843076}
EndGlobalSection
EndGlobal
60 changes: 60 additions & 0 deletions src/Services/e-sender/O2NextGen.ESender.Api.sln
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,24 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "O2NextGen.ESender.Impl", "O
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "O2NextGen.ESender.Data", "O2NextGen.ESender.Data\O2NextGen.ESender.Data.csproj", "{307B36BA-BFB2-4294-93DB-6C2F3455C06A}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{4D4C70FE-9CB3-4D78-837F-120EBAAD651B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IntegrationTests.O2NextGen.ESender.Api", "Tests\IntegrationTests.O2NextGen.ESender.Api\IntegrationTests.O2NextGen.ESender.Api.csproj", "{0CA484B4-E79A-43E1-ABAC-30C661DD637D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests.O2NextGen.ESender.Api", "Tests\Tests.O2NextGen.ESender.Api\Tests.O2NextGen.ESender.Api.csproj", "{0AD9CB1F-539F-4D06-9E19-C724C0350488}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests.O2NextGen.ESender.Business", "Tests\Tests.O2NextGen.ESender.Business\Tests.O2NextGen.ESender.Business.csproj", "{313FF018-98BB-4229-A2E6-525F1ACA13D9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IntegrationTests.O2NextGen.ESender.Business", "Tests\IntegrationTests.O2NextGen.ESender.Business\IntegrationTests.O2NextGen.ESender.Business.csproj", "{C6455931-5324-40B0-B101-0B68A119C1C3}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IntegrationTests.O2NextGen.ESender.Data", "Tests\IntegrationTests.O2NextGen.ESender.Data\IntegrationTests.O2NextGen.ESender.Data.csproj", "{FC4C87E2-DD4B-46E0-92EB-62482631A16C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests.O2NextGen.ESender.Data", "Tests\Tests.O2NextGen.ESender.Data\Tests.O2NextGen.ESender.Data.csproj", "{EA85C970-EF8B-4860-B6F2-0C6FDCAD5BCD}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests.O2NextGen.ESender.Impl", "Tests\Tests.O2NextGen.ESender.Impl\Tests.O2NextGen.ESender.Impl.csproj", "{0A589BE0-F0F3-4E52-BAC3-87F12D31E8CA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IntegrationTests.O2NextGen.ESender.Impl", "Tests\IntegrationTests.O2NextGen.ESender.Impl\IntegrationTests.O2NextGen.ESender.Impl.csproj", "{534D8645-6FA7-4F66-A90F-4C99FD5DED4D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -33,11 +51,53 @@ Global
{307B36BA-BFB2-4294-93DB-6C2F3455C06A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{307B36BA-BFB2-4294-93DB-6C2F3455C06A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{307B36BA-BFB2-4294-93DB-6C2F3455C06A}.Release|Any CPU.Build.0 = Release|Any CPU
{0CA484B4-E79A-43E1-ABAC-30C661DD637D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0CA484B4-E79A-43E1-ABAC-30C661DD637D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0CA484B4-E79A-43E1-ABAC-30C661DD637D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0CA484B4-E79A-43E1-ABAC-30C661DD637D}.Release|Any CPU.Build.0 = Release|Any CPU
{0AD9CB1F-539F-4D06-9E19-C724C0350488}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0AD9CB1F-539F-4D06-9E19-C724C0350488}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0AD9CB1F-539F-4D06-9E19-C724C0350488}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0AD9CB1F-539F-4D06-9E19-C724C0350488}.Release|Any CPU.Build.0 = Release|Any CPU
{313FF018-98BB-4229-A2E6-525F1ACA13D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{313FF018-98BB-4229-A2E6-525F1ACA13D9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{313FF018-98BB-4229-A2E6-525F1ACA13D9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{313FF018-98BB-4229-A2E6-525F1ACA13D9}.Release|Any CPU.Build.0 = Release|Any CPU
{C6455931-5324-40B0-B101-0B68A119C1C3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C6455931-5324-40B0-B101-0B68A119C1C3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C6455931-5324-40B0-B101-0B68A119C1C3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C6455931-5324-40B0-B101-0B68A119C1C3}.Release|Any CPU.Build.0 = Release|Any CPU
{FC4C87E2-DD4B-46E0-92EB-62482631A16C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FC4C87E2-DD4B-46E0-92EB-62482631A16C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FC4C87E2-DD4B-46E0-92EB-62482631A16C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FC4C87E2-DD4B-46E0-92EB-62482631A16C}.Release|Any CPU.Build.0 = Release|Any CPU
{EA85C970-EF8B-4860-B6F2-0C6FDCAD5BCD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EA85C970-EF8B-4860-B6F2-0C6FDCAD5BCD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EA85C970-EF8B-4860-B6F2-0C6FDCAD5BCD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EA85C970-EF8B-4860-B6F2-0C6FDCAD5BCD}.Release|Any CPU.Build.0 = Release|Any CPU
{0A589BE0-F0F3-4E52-BAC3-87F12D31E8CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0A589BE0-F0F3-4E52-BAC3-87F12D31E8CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0A589BE0-F0F3-4E52-BAC3-87F12D31E8CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0A589BE0-F0F3-4E52-BAC3-87F12D31E8CA}.Release|Any CPU.Build.0 = Release|Any CPU
{534D8645-6FA7-4F66-A90F-4C99FD5DED4D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{534D8645-6FA7-4F66-A90F-4C99FD5DED4D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{534D8645-6FA7-4F66-A90F-4C99FD5DED4D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{534D8645-6FA7-4F66-A90F-4C99FD5DED4D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {B0B1A6AC-DCC6-4AAB-B22C-8767ECCB3CF2}
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{0CA484B4-E79A-43E1-ABAC-30C661DD637D} = {4D4C70FE-9CB3-4D78-837F-120EBAAD651B}
{0AD9CB1F-539F-4D06-9E19-C724C0350488} = {4D4C70FE-9CB3-4D78-837F-120EBAAD651B}
{313FF018-98BB-4229-A2E6-525F1ACA13D9} = {4D4C70FE-9CB3-4D78-837F-120EBAAD651B}
{C6455931-5324-40B0-B101-0B68A119C1C3} = {4D4C70FE-9CB3-4D78-837F-120EBAAD651B}
{FC4C87E2-DD4B-46E0-92EB-62482631A16C} = {4D4C70FE-9CB3-4D78-837F-120EBAAD651B}
{EA85C970-EF8B-4860-B6F2-0C6FDCAD5BCD} = {4D4C70FE-9CB3-4D78-837F-120EBAAD651B}
{0A589BE0-F0F3-4E52-BAC3-87F12D31E8CA} = {4D4C70FE-9CB3-4D78-837F-120EBAAD651B}
{534D8645-6FA7-4F66-A90F-4C99FD5DED4D} = {4D4C70FE-9CB3-4D78-837F-120EBAAD651B}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public async Task<IActionResult> Detail(long id)
[HttpPost]
[Route("id")]
[ValidateAntiForgeryToken]
public async Task<IActionResult> Edit(long id, MailRequestViewModel model)
public async Task<IActionResult> Edit(long id, EmailRequestViewModel model)
{
var certificate = await _emailSenderService.GetByIdAsync(id, CancellationToken.None);
if (certificate == null)
Expand All @@ -65,7 +65,7 @@ public IActionResult Create()

[HttpPost]
[Route("")]
public async Task<IActionResult> CreateReally(MailRequestViewModel model)
public async Task<IActionResult> CreateReally(EmailRequestViewModel model)
{
var emailRequest = await _emailSenderService.AddAsync(model.ToModel(), CancellationToken.None);
await _emailSender.Send(model.To, model.Subject, model.Body);
Expand Down
Loading

0 comments on commit 6ed5aa6

Please sign in to comment.