Merge branch 'CourseWork' of http://student.git.athene.tech/AnnZhimol/CourseWork_Hotel into CourseWork
This commit is contained in:
commit
fc1d022dff
@ -3,11 +3,13 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
|||||||
# Visual Studio Version 17
|
# Visual Studio Version 17
|
||||||
VisualStudioVersion = 17.3.32825.248
|
VisualStudioVersion = 17.3.32825.248
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HotelView", "HotelView\HotelView.csproj", "{1A83AECA-64B1-4CD7-9A5D-2EE6C9B5C393}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HotelView", "HotelView\HotelView.csproj", "{1A83AECA-64B1-4CD7-9A5D-2EE6C9B5C393}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HotelDataModels", "HotelDataModels\HotelDataModels.csproj", "{08223741-597B-416D-8357-49E61B9C8AC0}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HotelDataModels", "HotelDataModels\HotelDataModels.csproj", "{08223741-597B-416D-8357-49E61B9C8AC0}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HotelContracts", "HotelContracts\HotelContracts.csproj", "{234B3526-A74E-43D2-9333-E74B4FF9A356}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HotelContracts", "HotelContracts\HotelContracts.csproj", "{234B3526-A74E-43D2-9333-E74B4FF9A356}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HotelDataBaseImplement", "HotelDataBaseImplement\HotelDataBaseImplement.csproj", "{B32CB19B-0F73-49F1-8821-7BBAFED6A6C5}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
@ -27,6 +29,10 @@ Global
|
|||||||
{234B3526-A74E-43D2-9333-E74B4FF9A356}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{234B3526-A74E-43D2-9333-E74B4FF9A356}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{234B3526-A74E-43D2-9333-E74B4FF9A356}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{234B3526-A74E-43D2-9333-E74B4FF9A356}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{234B3526-A74E-43D2-9333-E74B4FF9A356}.Release|Any CPU.Build.0 = Release|Any CPU
|
{234B3526-A74E-43D2-9333-E74B4FF9A356}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{B32CB19B-0F73-49F1-8821-7BBAFED6A6C5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{B32CB19B-0F73-49F1-8821-7BBAFED6A6C5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{B32CB19B-0F73-49F1-8821-7BBAFED6A6C5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{B32CB19B-0F73-49F1-8821-7BBAFED6A6C5}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
9
Hotel/HotelDataBaseImplement/HotelDataBase.cs
Normal file
9
Hotel/HotelDataBaseImplement/HotelDataBase.cs
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
|
namespace HotelDataBaseImplement
|
||||||
|
{
|
||||||
|
public class HotelDataBase : DbContext
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
18
Hotel/HotelDataBaseImplement/HotelDataBaseImplement.csproj
Normal file
18
Hotel/HotelDataBaseImplement/HotelDataBaseImplement.csproj
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.4" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\HotelContracts\HotelContracts.csproj" />
|
||||||
|
<ProjectReference Include="..\HotelDataModels\HotelDataModels.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
40
Hotel/HotelDataBaseImplement/Implemets/OrganiserStorage.cs
Normal file
40
Hotel/HotelDataBaseImplement/Implemets/OrganiserStorage.cs
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
using HotelContracts.BindingModels;
|
||||||
|
using HotelContracts.SearchModels;
|
||||||
|
using HotelContracts.StoragesContracts;
|
||||||
|
using HotelContracts.ViewModels;
|
||||||
|
|
||||||
|
namespace HotelDataBaseImplement.Implemets
|
||||||
|
{
|
||||||
|
public class OrganiserStorage : IOrganiserStorage
|
||||||
|
{
|
||||||
|
public OrganiserViewModel? Delete(OrganiserBindingModel model)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public OrganiserViewModel? GetElement(OrganiserSearchModel model)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<OrganiserViewModel> GetFilteredList(OrganiserSearchModel model)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<OrganiserViewModel> GetFullList()
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public OrganiserViewModel? Insert(OrganiserBindingModel model)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public OrganiserViewModel? Update(OrganiserBindingModel model)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
19
Hotel/HotelDataBaseImplement/Models/Organiser.cs
Normal file
19
Hotel/HotelDataBaseImplement/Models/Organiser.cs
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
using HotelDataModels.Models;
|
||||||
|
|
||||||
|
namespace HotelDataBaseImplement.Models
|
||||||
|
{
|
||||||
|
public class Organiser : IOrganiserModel
|
||||||
|
{
|
||||||
|
public string OrganiserFIO => throw new NotImplementedException();
|
||||||
|
|
||||||
|
public string OrganiserPassword => throw new NotImplementedException();
|
||||||
|
|
||||||
|
public string OrganiserLogin => throw new NotImplementedException();
|
||||||
|
|
||||||
|
public string OrganiserEmail => throw new NotImplementedException();
|
||||||
|
|
||||||
|
public string OrganiserNumber => throw new NotImplementedException();
|
||||||
|
|
||||||
|
public int Id => throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user