Added session first implementation:
+ Added session in the database and added session controller + Added session in authorize attribute/Login + Added Logout function * Refactor database models
This commit is contained in:
@@ -67,14 +67,15 @@
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Controllers\FunctionAccessController.cs" />
|
||||
<Compile Include="Controllers\MachineController.cs" />
|
||||
<Compile Include="Controllers\FunctionsAccessController.cs" />
|
||||
<Compile Include="Controllers\MachinesController.cs" />
|
||||
<Compile Include="Controllers\SessionsController.cs" />
|
||||
<Compile Include="Controllers\UsersController.cs" />
|
||||
<Compile Include="Controllers\MachinesUsersController.cs" />
|
||||
<Compile Include="DatabaseContext.cs" />
|
||||
<Compile Include="Migrations\201801161604529_InitCreate.cs" />
|
||||
<Compile Include="Migrations\201801161604529_InitCreate.Designer.cs">
|
||||
<DependentUpon>201801161604529_InitCreate.cs</DependentUpon>
|
||||
<Compile Include="Migrations\201801251430146_InitCreate.cs" />
|
||||
<Compile Include="Migrations\201801251430146_InitCreate.Designer.cs">
|
||||
<DependentUpon>201801251430146_InitCreate.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Migrations\Configuration.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
@@ -110,8 +111,8 @@
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Migrations\201801161604529_InitCreate.resx">
|
||||
<DependentUpon>201801161604529_InitCreate.cs</DependentUpon>
|
||||
<EmbeddedResource Include="Migrations\201801251430146_InitCreate.resx">
|
||||
<DependentUpon>201801251430146_InitCreate.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
|
||||
Reference in New Issue
Block a user