Moved Models to Shared Project
This commit is contained in:
parent
bae69648d0
commit
7533d5a704
19 changed files with 27 additions and 1 deletions
6
Lieb.sln
6
Lieb.sln
|
@ -5,6 +5,8 @@ VisualStudioVersion = 17.0.32126.317
|
|||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Lieb", "Lieb\Lieb.csproj", "{48554958-F16E-466A-B9B7-F17511FDA415}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Shared", "Shared\Shared.csproj", "{8F30A150-F8B2-4173-B2AA-5A9C1BE1EF51}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
|
@ -15,6 +17,10 @@ Global
|
|||
{48554958-F16E-466A-B9B7-F17511FDA415}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{48554958-F16E-466A-B9B7-F17511FDA415}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{48554958-F16E-466A-B9B7-F17511FDA415}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{8F30A150-F8B2-4173-B2AA-5A9C1BE1EF51}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{8F30A150-F8B2-4173-B2AA-5A9C1BE1EF51}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{8F30A150-F8B2-4173-B2AA-5A9C1BE1EF51}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8F30A150-F8B2-4173-B2AA-5A9C1BE1EF51}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
|
|
@ -3,7 +3,7 @@ using Microsoft.AspNetCore.Authentication.Cookies;
|
|||
using Microsoft.AspNetCore.DataProtection;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace Lieb.Data
|
||||
namespace Lieb.Controllers
|
||||
{
|
||||
[Route("[controller]/[action]")] // Microsoft.AspNetCore.Mvc.Route
|
||||
public class AccountController : ControllerBase
|
|
@ -17,4 +17,8 @@
|
|||
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="6.0.1" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Shared\Shared.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
7
Shared/Class1.cs
Normal file
7
Shared/Class1.cs
Normal file
|
@ -0,0 +1,7 @@
|
|||
namespace Shared
|
||||
{
|
||||
public class Class1
|
||||
{
|
||||
|
||||
}
|
||||
}
|
9
Shared/Shared.csproj
Normal file
9
Shared/Shared.csproj
Normal file
|
@ -0,0 +1,9 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
Loading…
Add table
Add a link
Reference in a new issue