diff --git a/Models/Class1.cs b/Models/Class1.cs new file mode 100644 index 0000000..b3eec71 --- /dev/null +++ b/Models/Class1.cs @@ -0,0 +1,7 @@ +namespace Models +{ + public class Class1 + { + + } +} \ No newline at end of file diff --git a/Models/Models.csproj b/Models/Models.csproj new file mode 100644 index 0000000..132c02c --- /dev/null +++ b/Models/Models.csproj @@ -0,0 +1,9 @@ + + + + net6.0 + enable + enable + + + diff --git a/TransportGuide/TransportGuide.sln b/TransportGuide/TransportGuide.sln index ed0857d..5f53a0d 100644 --- a/TransportGuide/TransportGuide.sln +++ b/TransportGuide/TransportGuide.sln @@ -5,6 +5,8 @@ VisualStudioVersion = 17.4.33122.133 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TransportGuide", "TransportGuide.csproj", "{4FB4F845-A1B0-4B67-B79D-054D8D9BF837}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TransportGuideDataModels", "..\TransportGuideDataModels\TransportGuideDataModels.csproj", "{97F50689-60B7-4955-9CF0-01CBCA875DEC}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -15,6 +17,10 @@ Global {4FB4F845-A1B0-4B67-B79D-054D8D9BF837}.Debug|Any CPU.Build.0 = Debug|Any CPU {4FB4F845-A1B0-4B67-B79D-054D8D9BF837}.Release|Any CPU.ActiveCfg = Release|Any CPU {4FB4F845-A1B0-4B67-B79D-054D8D9BF837}.Release|Any CPU.Build.0 = Release|Any CPU + {97F50689-60B7-4955-9CF0-01CBCA875DEC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {97F50689-60B7-4955-9CF0-01CBCA875DEC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {97F50689-60B7-4955-9CF0-01CBCA875DEC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {97F50689-60B7-4955-9CF0-01CBCA875DEC}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/TransportGuideDataModels/IId.cs b/TransportGuideDataModels/IId.cs new file mode 100644 index 0000000..e86c0cd --- /dev/null +++ b/TransportGuideDataModels/IId.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace TransportGuideDataModels +{ + public interface IId + { + int Id { get; } + } +} diff --git a/TransportGuideDataModels/Models/IStop.cs b/TransportGuideDataModels/Models/IStop.cs new file mode 100644 index 0000000..a1f2c97 --- /dev/null +++ b/TransportGuideDataModels/Models/IStop.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace TransportGuideDataModels.Models +{ + public interface IStop + { + string Name { get; } + } +} diff --git a/TransportGuideDataModels/Models/ITransportType.cs b/TransportGuideDataModels/Models/ITransportType.cs new file mode 100644 index 0000000..106a399 --- /dev/null +++ b/TransportGuideDataModels/Models/ITransportType.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace TransportGuideDataModels.Models +{ + public interface ITransportType + { + double price { get;} + string name { get;} + + } +} diff --git a/TransportGuideDataModels/Models/n_route.cs b/TransportGuideDataModels/Models/n_route.cs new file mode 100644 index 0000000..1d7ddf7 --- /dev/null +++ b/TransportGuideDataModels/Models/n_route.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace TransportGuideDataModels.Models +{ + public interface n_route + { + string Name { get;} + string IP { get;} + + } +} diff --git a/TransportGuideDataModels/TransportGuideDataModels.csproj b/TransportGuideDataModels/TransportGuideDataModels.csproj new file mode 100644 index 0000000..27ac386 --- /dev/null +++ b/TransportGuideDataModels/TransportGuideDataModels.csproj @@ -0,0 +1,9 @@ + + + + net6.0 + enable + enable + + +