diff --git a/CInemaApp/CInemaApp.csproj b/CInemaApp/CInemaApp.csproj
index 958d2f1..de2f0c5 100644
--- a/CInemaApp/CInemaApp.csproj
+++ b/CInemaApp/CInemaApp.csproj
@@ -5,4 +5,8 @@
netcoreapp3.0
+
+
+
+
diff --git a/CInemaApp/Class1.cs b/CInemaApp/Class1.cs
new file mode 100644
index 0000000..40af5e5
--- /dev/null
+++ b/CInemaApp/Class1.cs
@@ -0,0 +1,10 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace CInemaApp
+{
+ class Class1
+ {
+ }
+}
diff --git a/CInemaApp/ConsoleApp1/ConsoleApp1.csproj b/CInemaApp/ConsoleApp1/ConsoleApp1.csproj
new file mode 100644
index 0000000..c73e0d1
--- /dev/null
+++ b/CInemaApp/ConsoleApp1/ConsoleApp1.csproj
@@ -0,0 +1,8 @@
+
+
+
+ Exe
+ netcoreapp3.1
+
+
+
diff --git a/CInemaApp/ConsoleApp1/List.cs b/CInemaApp/ConsoleApp1/List.cs
new file mode 100644
index 0000000..fce7b02
--- /dev/null
+++ b/CInemaApp/ConsoleApp1/List.cs
@@ -0,0 +1,6 @@
+namespace CInemaApp
+{
+ internal class List
+ {
+ }
+}
\ No newline at end of file
diff --git a/CInemaApp/ConsoleApp1/Program.cs b/CInemaApp/ConsoleApp1/Program.cs
new file mode 100644
index 0000000..a3c86c0
--- /dev/null
+++ b/CInemaApp/ConsoleApp1/Program.cs
@@ -0,0 +1,246 @@
+using System;
+
+namespace CInemaApp
+{
+ // the 'login screen' that asks whether the current user is an admin or not
+ public class Login
+ {
+ public static void Question()
+ {
+ User.STARS();
+ Console.WriteLine("Are you an Admin or User? [A/U]");
+ string Answer = Console.ReadLine();
+
+ //StringComparison.OrdinalIgnoreCase makes sure that the answer gets through despite it being upper or lower case
+ //Answer.Equals is the same as Answer = "U"
+ if (Answer.Equals("U", StringComparison.OrdinalIgnoreCase))
+ User.Menu();
+ else if (Answer.Equals("A", StringComparison.OrdinalIgnoreCase))
+ Admin.Menu();
+ else
+ Question();
+ //repeats the question if it isn't answered properly .-.
+ }
+ }
+
+ // menu screen for the user
+ public class User
+ {
+ public static void STARS()
+ {
+ Console.WriteLine("********************");
+ }
+ public static void bb()
+ //works as a back button
+ {
+ Console.WriteLine("To go back to the main menu, please press Enter.");
+ string key = Console.ReadLine();
+
+ if (key == "" + "") //enter
+ Menu();
+ else
+ bb();
+
+ }
+
+ public static void Contact()
+ {
+ Console.WriteLine("CINEMAPP CONTACT INFO\n");
+ Console.WriteLine("Phone number: 06123456789");
+ Console.WriteLine("Email: cinemapp@hr.nl\n");
+ bb();
+ }
+ public static void Current()
+ {
+ bb();
+ }
+ public static void Upcoming()
+ {
+ bb();
+ }
+ public static void Prices()
+ {
+ Console.WriteLine("MOVIE TICKET PRICES BY AGE\n");
+
+ Console.WriteLine("REGULAR 2D MOVIES");
+ Console.WriteLine("Children up to 11 - $6.00");
+ Console.WriteLine("Regular - $11.00");
+ Console.WriteLine("Teenagers (aged 12 - 17) and elderly (65+) - $9.00\n");
+
+ Console.WriteLine("3D MOVIES");
+ Console.WriteLine("Children up to 11 - $9.00");
+ Console.WriteLine("Regular - $14.00");
+ Console.WriteLine("Teenagers (aged 12 - 17) and elderly (65+) - $12.00\n");
+
+ Console.WriteLine("IMAX/4DX MOVIES");
+ Console.WriteLine("Children up to 11 - $11.50");
+ Console.WriteLine("Regular - $16.50\n");
+
+ bb();
+ }
+ public static void Events()
+ {
+ bb();
+ }
+ public static void Sally()
+ {
+ bb();
+ }
+
+ public static void Choices()
+ {
+ string choice = Console.ReadLine();
+ switch (choice)
+ //switch cases are pretty similar to if-else statements, only it looks better and works a bit faster
+ // also you don't have to deal with 80 else ifs back to back
+ {
+ case "1":
+ STARS();
+ Console.WriteLine("Welcome to the current movies page!");
+ Current();
+ break; // <<<<< needed because switch cases REFUSE to work if the breaks are left out
+ case "2":
+ STARS();
+ Console.WriteLine("Welcome to the popular movies page!");
+ Console.WriteLine("These are the popularmovies: ");
+
+ System.Collections.Generic.List Movies = new System.Collections.Generic.List();
+ Movies.Add("Bad Boys for Life from 2020");
+ Movies.Add("The Godfather from 1974");
+ Movies.Add("1917 from 2020");
+ Movies.Add("Guardians of the Galaxy from 2014");
+ Movies.Add("Joker from 2019");
+
+ foreach (var movie in Movies)
+
+ Console.WriteLine(Movies);
+
+ Upcoming();
+ break;
+ case "3":
+ STARS();
+ Prices();
+ break;
+ case "4":
+ STARS();
+ Console.WriteLine("Welcome to the events page!");
+ Events();
+ break;
+ case "5":
+ STARS();
+ Console.WriteLine("Welcome to sally's cafe page!");
+ Sally();
+ break;
+ case "6":
+ STARS();
+ Contact();
+ break;
+ case "7":
+ Console.WriteLine("Goodbye.");
+ break;
+ default:
+ Console.WriteLine("False input. Try again.");
+ Choices();
+ break;
+ }
+ }
+
+ public static void Menu()
+ {
+ STARS();
+ Console.WriteLine("[1] - Current Movies");
+ Console.WriteLine("[2] - Popular Movies");
+ Console.WriteLine("[3] - Movie Prices");
+ Console.WriteLine("[4] - Events");
+ Console.WriteLine("[5] - Sally's Café");
+ Console.WriteLine("[6] - Contact Information");
+ Console.WriteLine("[7] - Quit");
+ STARS();
+ Console.WriteLine("Please choose an option to continue.");
+
+ Choices();
+
+ }
+
+ }
+
+ // menu screen for the admin
+ public class Admin
+ {
+ public static void Menu()
+ {
+ User.STARS();
+ Console.WriteLine("[1] - Current Movies");
+ Console.WriteLine("[2] - Upcoming Movies");
+ Console.WriteLine("[3] - Movie Prices");
+ Console.WriteLine("[4] - Events");
+ Console.WriteLine("[5] - Sally's Café");
+ Console.WriteLine("[6] - Contact Information");
+ Console.WriteLine("[7] - Quit");
+ User.STARS();
+ Console.WriteLine("Please choose an option to continue.");
+
+ Choices();
+ }
+ public static void Current()
+ {
+ string tc = Console.ReadLine();
+ }
+ public static void Upcoming()
+ {
+ string tu = Console.ReadLine();
+ }
+ public static void Prices()
+ {
+ string tp = Console.ReadLine();
+ }
+ public static void Events()
+ {
+ string te = Console.ReadLine();
+ }
+ public static void Sally()
+ {
+ string ts = Console.ReadLine();
+ }
+ public static void Contact()
+ {
+ string tco = Console.ReadLine();
+ }
+ public static void Choices()
+ {
+ string choice = Console.ReadLine();
+ switch (choice)
+ {
+ case "1":
+ Current();
+ break;
+ case "2":
+ Upcoming();
+ break;
+ case "3":
+ Prices();
+ break;
+ case "4":
+ Events();
+ break;
+ case "5":
+ Sally();
+ break;
+ case "6":
+ Contact();
+ break;
+ default:
+ Choices();
+ break;
+ }
+ }
+ }
+ class Program
+ {
+ static void Main(string[] args)
+ {
+ Login.Question();
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/CInemaApp/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.deps.json b/CInemaApp/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.deps.json
new file mode 100644
index 0000000..8c19144
--- /dev/null
+++ b/CInemaApp/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.deps.json
@@ -0,0 +1,23 @@
+{
+ "runtimeTarget": {
+ "name": ".NETCoreApp,Version=v3.1",
+ "signature": ""
+ },
+ "compilationOptions": {},
+ "targets": {
+ ".NETCoreApp,Version=v3.1": {
+ "ConsoleApp1/1.0.0": {
+ "runtime": {
+ "ConsoleApp1.dll": {}
+ }
+ }
+ }
+ },
+ "libraries": {
+ "ConsoleApp1/1.0.0": {
+ "type": "project",
+ "serviceable": false,
+ "sha512": ""
+ }
+ }
+}
\ No newline at end of file
diff --git a/CInemaApp/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.dll b/CInemaApp/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.dll
new file mode 100644
index 0000000..827b9ad
Binary files /dev/null and b/CInemaApp/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.dll differ
diff --git a/CInemaApp/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.exe b/CInemaApp/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.exe
new file mode 100644
index 0000000..5888343
Binary files /dev/null and b/CInemaApp/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.exe differ
diff --git a/CInemaApp/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.pdb b/CInemaApp/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.pdb
new file mode 100644
index 0000000..08bd944
Binary files /dev/null and b/CInemaApp/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.pdb differ
diff --git a/CInemaApp/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.runtimeconfig.dev.json b/CInemaApp/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.runtimeconfig.dev.json
new file mode 100644
index 0000000..f73158a
--- /dev/null
+++ b/CInemaApp/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.runtimeconfig.dev.json
@@ -0,0 +1,8 @@
+{
+ "runtimeOptions": {
+ "additionalProbingPaths": [
+ "C:\\Users\\Roomy\\.dotnet\\store\\|arch|\\|tfm|",
+ "C:\\Users\\Roomy\\.nuget\\packages"
+ ]
+ }
+}
\ No newline at end of file
diff --git a/CInemaApp/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.runtimeconfig.json b/CInemaApp/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.runtimeconfig.json
new file mode 100644
index 0000000..bc456d7
--- /dev/null
+++ b/CInemaApp/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.runtimeconfig.json
@@ -0,0 +1,9 @@
+{
+ "runtimeOptions": {
+ "tfm": "netcoreapp3.1",
+ "framework": {
+ "name": "Microsoft.NETCore.App",
+ "version": "3.1.0"
+ }
+ }
+}
\ No newline at end of file
diff --git a/CInemaApp/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.cache b/CInemaApp/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.cache
new file mode 100644
index 0000000..852d93a
--- /dev/null
+++ b/CInemaApp/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.cache
@@ -0,0 +1,5 @@
+{
+ "version": 1,
+ "dgSpecHash": "MYGudAr+ay6hr0/gf6uad4nWBmriVpaAj63adjeT8krP89uVsLBJ2f9LExGjZkYaXuZHCAOCKVVo3KJ7/MZkqg==",
+ "success": true
+}
\ No newline at end of file
diff --git a/CInemaApp/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.dgspec.json b/CInemaApp/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.dgspec.json
new file mode 100644
index 0000000..f0dcfcf
--- /dev/null
+++ b/CInemaApp/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.dgspec.json
@@ -0,0 +1,60 @@
+{
+ "format": 1,
+ "restore": {
+ "C:\\Users\\Roomy\\Documents\\GitHub\\Cinema-App\\ConsoleApp1\\ConsoleApp1.csproj": {}
+ },
+ "projects": {
+ "C:\\Users\\Roomy\\Documents\\GitHub\\Cinema-App\\ConsoleApp1\\ConsoleApp1.csproj": {
+ "version": "1.0.0",
+ "restore": {
+ "projectUniqueName": "C:\\Users\\Roomy\\Documents\\GitHub\\Cinema-App\\ConsoleApp1\\ConsoleApp1.csproj",
+ "projectName": "ConsoleApp1",
+ "projectPath": "C:\\Users\\Roomy\\Documents\\GitHub\\Cinema-App\\ConsoleApp1\\ConsoleApp1.csproj",
+ "packagesPath": "C:\\Users\\Roomy\\.nuget\\packages\\",
+ "outputPath": "C:\\Users\\Roomy\\Documents\\GitHub\\Cinema-App\\ConsoleApp1\\obj\\",
+ "projectStyle": "PackageReference",
+ "configFilePaths": [
+ "C:\\Users\\Roomy\\AppData\\Roaming\\NuGet\\NuGet.Config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+ ],
+ "originalTargetFrameworks": [
+ "netcoreapp3.1"
+ ],
+ "sources": {
+ "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+ "https://api.nuget.org/v3/index.json": {}
+ },
+ "frameworks": {
+ "netcoreapp3.1": {
+ "projectReferences": {}
+ }
+ },
+ "warningProperties": {
+ "warnAsError": [
+ "NU1605"
+ ]
+ }
+ },
+ "frameworks": {
+ "netcoreapp3.1": {
+ "imports": [
+ "net461",
+ "net462",
+ "net47",
+ "net471",
+ "net472",
+ "net48"
+ ],
+ "assetTargetFallback": true,
+ "warn": true,
+ "frameworkReferences": {
+ "Microsoft.NETCore.App": {
+ "privateAssets": "all"
+ }
+ },
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.101\\RuntimeIdentifierGraph.json"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/CInemaApp/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.g.props b/CInemaApp/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.g.props
new file mode 100644
index 0000000..236f6b4
--- /dev/null
+++ b/CInemaApp/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.g.props
@@ -0,0 +1,15 @@
+
+
+
+ True
+ NuGet
+ $(MSBuildThisFileDirectory)project.assets.json
+ $(UserProfile)\.nuget\packages\
+ C:\Users\Roomy\.nuget\packages\
+ PackageReference
+ 5.4.0
+
+
+ $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
+
+
\ No newline at end of file
diff --git a/CInemaApp/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.g.targets b/CInemaApp/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.g.targets
new file mode 100644
index 0000000..53cfaa1
--- /dev/null
+++ b/CInemaApp/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.g.targets
@@ -0,0 +1,6 @@
+
+
+
+ $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
+
+
\ No newline at end of file
diff --git a/CInemaApp/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.AssemblyInfo.cs b/CInemaApp/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.AssemblyInfo.cs
new file mode 100644
index 0000000..59389a0
--- /dev/null
+++ b/CInemaApp/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.AssemblyInfo.cs
@@ -0,0 +1,23 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Reflection;
+
+[assembly: System.Reflection.AssemblyCompanyAttribute("ConsoleApp1")]
+[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
+[assembly: System.Reflection.AssemblyProductAttribute("ConsoleApp1")]
+[assembly: System.Reflection.AssemblyTitleAttribute("ConsoleApp1")]
+[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
+
+// Generated by the MSBuild WriteCodeFragment class.
+
diff --git a/CInemaApp/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.AssemblyInfoInputs.cache b/CInemaApp/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.AssemblyInfoInputs.cache
new file mode 100644
index 0000000..00a6ec1
--- /dev/null
+++ b/CInemaApp/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.AssemblyInfoInputs.cache
@@ -0,0 +1 @@
+0cbac02cf6b33ab9449e1ec02e8dbba2474e8080
diff --git a/CInemaApp/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.assets.cache b/CInemaApp/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.assets.cache
new file mode 100644
index 0000000..d532564
Binary files /dev/null and b/CInemaApp/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.assets.cache differ
diff --git a/CInemaApp/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.csproj.FileListAbsolute.txt b/CInemaApp/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..28f25ac
--- /dev/null
+++ b/CInemaApp/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.csproj.FileListAbsolute.txt
@@ -0,0 +1,11 @@
+C:\Users\Roomy\Documents\GitHub\Cinema-App\ConsoleApp1\obj\Debug\netcoreapp3.1\ConsoleApp1.csprojAssemblyReference.cache
+C:\Users\Roomy\Documents\GitHub\Cinema-App\ConsoleApp1\obj\Debug\netcoreapp3.1\ConsoleApp1.AssemblyInfoInputs.cache
+C:\Users\Roomy\Documents\GitHub\Cinema-App\ConsoleApp1\obj\Debug\netcoreapp3.1\ConsoleApp1.AssemblyInfo.cs
+C:\Users\Roomy\Documents\GitHub\Cinema-App\ConsoleApp1\bin\Debug\netcoreapp3.1\ConsoleApp1.exe
+C:\Users\Roomy\Documents\GitHub\Cinema-App\ConsoleApp1\bin\Debug\netcoreapp3.1\ConsoleApp1.deps.json
+C:\Users\Roomy\Documents\GitHub\Cinema-App\ConsoleApp1\bin\Debug\netcoreapp3.1\ConsoleApp1.runtimeconfig.json
+C:\Users\Roomy\Documents\GitHub\Cinema-App\ConsoleApp1\bin\Debug\netcoreapp3.1\ConsoleApp1.runtimeconfig.dev.json
+C:\Users\Roomy\Documents\GitHub\Cinema-App\ConsoleApp1\bin\Debug\netcoreapp3.1\ConsoleApp1.dll
+C:\Users\Roomy\Documents\GitHub\Cinema-App\ConsoleApp1\bin\Debug\netcoreapp3.1\ConsoleApp1.pdb
+C:\Users\Roomy\Documents\GitHub\Cinema-App\ConsoleApp1\obj\Debug\netcoreapp3.1\ConsoleApp1.dll
+C:\Users\Roomy\Documents\GitHub\Cinema-App\ConsoleApp1\obj\Debug\netcoreapp3.1\ConsoleApp1.pdb
diff --git a/CInemaApp/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.csprojAssemblyReference.cache b/CInemaApp/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.csprojAssemblyReference.cache
new file mode 100644
index 0000000..558b0cf
Binary files /dev/null and b/CInemaApp/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.csprojAssemblyReference.cache differ
diff --git a/CInemaApp/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.dll b/CInemaApp/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.dll
new file mode 100644
index 0000000..827b9ad
Binary files /dev/null and b/CInemaApp/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.dll differ
diff --git a/CInemaApp/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.exe b/CInemaApp/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.exe
new file mode 100644
index 0000000..5888343
Binary files /dev/null and b/CInemaApp/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.exe differ
diff --git a/CInemaApp/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.pdb b/CInemaApp/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.pdb
new file mode 100644
index 0000000..08bd944
Binary files /dev/null and b/CInemaApp/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.pdb differ
diff --git a/CInemaApp/ConsoleApp1/obj/project.assets.json b/CInemaApp/ConsoleApp1/obj/project.assets.json
new file mode 100644
index 0000000..2714ffc
--- /dev/null
+++ b/CInemaApp/ConsoleApp1/obj/project.assets.json
@@ -0,0 +1,65 @@
+{
+ "version": 3,
+ "targets": {
+ ".NETCoreApp,Version=v3.1": {}
+ },
+ "libraries": {},
+ "projectFileDependencyGroups": {
+ ".NETCoreApp,Version=v3.1": []
+ },
+ "packageFolders": {
+ "C:\\Users\\Roomy\\.nuget\\packages\\": {}
+ },
+ "project": {
+ "version": "1.0.0",
+ "restore": {
+ "projectUniqueName": "C:\\Users\\Roomy\\Documents\\GitHub\\Cinema-App\\ConsoleApp1\\ConsoleApp1.csproj",
+ "projectName": "ConsoleApp1",
+ "projectPath": "C:\\Users\\Roomy\\Documents\\GitHub\\Cinema-App\\ConsoleApp1\\ConsoleApp1.csproj",
+ "packagesPath": "C:\\Users\\Roomy\\.nuget\\packages\\",
+ "outputPath": "C:\\Users\\Roomy\\Documents\\GitHub\\Cinema-App\\ConsoleApp1\\obj\\",
+ "projectStyle": "PackageReference",
+ "configFilePaths": [
+ "C:\\Users\\Roomy\\AppData\\Roaming\\NuGet\\NuGet.Config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+ ],
+ "originalTargetFrameworks": [
+ "netcoreapp3.1"
+ ],
+ "sources": {
+ "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+ "https://api.nuget.org/v3/index.json": {}
+ },
+ "frameworks": {
+ "netcoreapp3.1": {
+ "projectReferences": {}
+ }
+ },
+ "warningProperties": {
+ "warnAsError": [
+ "NU1605"
+ ]
+ }
+ },
+ "frameworks": {
+ "netcoreapp3.1": {
+ "imports": [
+ "net461",
+ "net462",
+ "net47",
+ "net471",
+ "net472",
+ "net48"
+ ],
+ "assetTargetFallback": true,
+ "warn": true,
+ "frameworkReferences": {
+ "Microsoft.NETCore.App": {
+ "privateAssets": "all"
+ }
+ },
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.101\\RuntimeIdentifierGraph.json"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/CInemaApp/ConsoleApp1/popular.cs b/CInemaApp/ConsoleApp1/popular.cs
new file mode 100644
index 0000000..99ce7d5
--- /dev/null
+++ b/CInemaApp/ConsoleApp1/popular.cs
@@ -0,0 +1,22 @@
+using System;
+
+namespace ConsoleApp1
+{
+ class Program
+ {
+ static void Main(string[] args)
+ {
+ Console.WriteLine("These are the popularmovies: ");
+ List Movies = new List();
+ Movies.Add("Bad Boys for Life from 2020");
+ Movies.Add("The Godfather from 1974");
+ Movies.Add("1917 from 2020");
+ Movies.Add("Guardians of the Galaxy from 2014");
+ Movies.Add("Joker from 2019");
+
+ foreach (var movie in Movies)
+
+ Console.WriteLine(Movies);
+ }
+ }
+}
\ No newline at end of file
diff --git a/CInemaApp/MovieData.cs b/CInemaApp/MovieData.cs
new file mode 100644
index 0000000..f755305
--- /dev/null
+++ b/CInemaApp/MovieData.cs
@@ -0,0 +1,22 @@
+using Newtonsoft.Json;
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Reflection;
+
+public static class Data
+{
+ public static List LoadMovies()
+ {
+ // Load the movieData.json here and parse to Movie objects
+ using (StreamReader r = new StreamReader(@"C:\Users\jeroe\source\repos\Cinema-App\CInemaApp\movies.json"))
+ {
+ string json = r.ReadToEnd();
+ List items = JsonConvert.DeserializeObject>(json);
+ return items;
+ /*foreach(Movie item in items){
+ Console.WriteLine(item.GetMovieDetails() + "\n\n");
+ }*/
+ }
+ }
+}
diff --git a/CInemaApp/Movies.cs b/CInemaApp/Movies.cs
new file mode 100644
index 0000000..08a5052
--- /dev/null
+++ b/CInemaApp/Movies.cs
@@ -0,0 +1,31 @@
+using System;
+
+public class Movie
+{
+
+ public string name; // Name of the movie
+ public string description; // Description of the movie
+ public int duration; // In minutes
+ public string genre; // genre name
+
+
+ // Constructor
+ public Movie(string name, string description, int duration, string genre)
+ {
+
+ this.name = name;
+ this.description = description;
+ this.duration = duration;
+ this.genre = genre;
+
+
+
+ }
+ public string GetMovieName()
+ {
+ return this.name;
+ }
+
+
+
+}
\ No newline at end of file
diff --git a/CInemaApp/Program.cs b/CInemaApp/Program.cs
deleted file mode 100644
index 5612e4a..0000000
--- a/CInemaApp/Program.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using System;
-
-namespace CInemaApp
-{
- class Program
- {
- static void Main(string[] args)
- {
- Console.WriteLine("Hello World!");
- }
- }
-}
diff --git a/CInemaApp/bin/Debug/netcoreapp3.0/CInemaApp.deps.json b/CInemaApp/bin/Debug/netcoreapp3.0/CInemaApp.deps.json
new file mode 100644
index 0000000..7b060f4
--- /dev/null
+++ b/CInemaApp/bin/Debug/netcoreapp3.0/CInemaApp.deps.json
@@ -0,0 +1,41 @@
+{
+ "runtimeTarget": {
+ "name": ".NETCoreApp,Version=v3.0",
+ "signature": ""
+ },
+ "compilationOptions": {},
+ "targets": {
+ ".NETCoreApp,Version=v3.0": {
+ "CInemaApp/1.0.0": {
+ "dependencies": {
+ "Newtonsoft.Json": "12.0.3"
+ },
+ "runtime": {
+ "CInemaApp.dll": {}
+ }
+ },
+ "Newtonsoft.Json/12.0.3": {
+ "runtime": {
+ "lib/netstandard2.0/Newtonsoft.Json.dll": {
+ "assemblyVersion": "12.0.0.0",
+ "fileVersion": "12.0.3.23909"
+ }
+ }
+ }
+ }
+ },
+ "libraries": {
+ "CInemaApp/1.0.0": {
+ "type": "project",
+ "serviceable": false,
+ "sha512": ""
+ },
+ "Newtonsoft.Json/12.0.3": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-6mgjfnRB4jKMlzHSl+VD+oUc1IebOZabkbyWj2RiTgWwYPPuaK1H97G1sHqGwPlS5npiF5Q0OrxN1wni2n5QWg==",
+ "path": "newtonsoft.json/12.0.3",
+ "hashPath": "newtonsoft.json.12.0.3.nupkg.sha512"
+ }
+ }
+}
\ No newline at end of file
diff --git a/CInemaApp/bin/Debug/netcoreapp3.0/CInemaApp.dll b/CInemaApp/bin/Debug/netcoreapp3.0/CInemaApp.dll
new file mode 100644
index 0000000..f8870e2
Binary files /dev/null and b/CInemaApp/bin/Debug/netcoreapp3.0/CInemaApp.dll differ
diff --git a/CInemaApp/bin/Debug/netcoreapp3.0/CInemaApp.exe b/CInemaApp/bin/Debug/netcoreapp3.0/CInemaApp.exe
new file mode 100644
index 0000000..aeb2c95
Binary files /dev/null and b/CInemaApp/bin/Debug/netcoreapp3.0/CInemaApp.exe differ
diff --git a/CInemaApp/bin/Debug/netcoreapp3.0/CInemaApp.pdb b/CInemaApp/bin/Debug/netcoreapp3.0/CInemaApp.pdb
new file mode 100644
index 0000000..7b317cf
Binary files /dev/null and b/CInemaApp/bin/Debug/netcoreapp3.0/CInemaApp.pdb differ
diff --git a/CInemaApp/bin/Debug/netcoreapp3.0/CInemaApp.runtimeconfig.dev.json b/CInemaApp/bin/Debug/netcoreapp3.0/CInemaApp.runtimeconfig.dev.json
new file mode 100644
index 0000000..abf098e
--- /dev/null
+++ b/CInemaApp/bin/Debug/netcoreapp3.0/CInemaApp.runtimeconfig.dev.json
@@ -0,0 +1,8 @@
+{
+ "runtimeOptions": {
+ "additionalProbingPaths": [
+ "C:\\Users\\jeroe\\.dotnet\\store\\|arch|\\|tfm|",
+ "C:\\Users\\jeroe\\.nuget\\packages"
+ ]
+ }
+}
\ No newline at end of file
diff --git a/CInemaApp/bin/Debug/netcoreapp3.0/CInemaApp.runtimeconfig.json b/CInemaApp/bin/Debug/netcoreapp3.0/CInemaApp.runtimeconfig.json
new file mode 100644
index 0000000..33ec9d0
--- /dev/null
+++ b/CInemaApp/bin/Debug/netcoreapp3.0/CInemaApp.runtimeconfig.json
@@ -0,0 +1,9 @@
+{
+ "runtimeOptions": {
+ "tfm": "netcoreapp3.0",
+ "framework": {
+ "name": "Microsoft.NETCore.App",
+ "version": "3.0.0"
+ }
+ }
+}
\ No newline at end of file
diff --git a/CInemaApp/bin/Debug/netcoreapp3.0/Newtonsoft.Json.dll b/CInemaApp/bin/Debug/netcoreapp3.0/Newtonsoft.Json.dll
new file mode 100644
index 0000000..b501fb6
Binary files /dev/null and b/CInemaApp/bin/Debug/netcoreapp3.0/Newtonsoft.Json.dll differ
diff --git a/CInemaApp/movies.json b/CInemaApp/movies.json
new file mode 100644
index 0000000..b5e3bfb
--- /dev/null
+++ b/CInemaApp/movies.json
@@ -0,0 +1,38 @@
+[
+ {
+ "name": "hgfjhf",
+ "description": "hooi",
+ "duration": 10,
+ "genre": null
+ },
+ {
+ "name": "lord of the rings",
+ "description": "hooi",
+ "duration": 10,
+ "genre": null
+ },
+ {
+ "name": "star wars",
+ "description": "hooi",
+ "duration": 10,
+ "genre": null
+ },
+ {
+ "name": "test5",
+ "description": "dit is een test",
+ "duration": 10,
+ "genre": null
+ },
+ {
+ "name": "test69",
+ "description": "dit is test 69",
+ "duration": 69,
+ "genre": null
+ },
+ {
+ "name": "lord of the rings",
+ "description": "it's about a friendship between a dwarf and a elf and something about a ring",
+ "duration": 360,
+ "genre": "fantasy"
+ }
+]
\ No newline at end of file
diff --git a/CInemaApp/obj/CInemaApp.csproj.nuget.cache b/CInemaApp/obj/CInemaApp.csproj.nuget.cache
index 5ed2999..d173dff 100644
--- a/CInemaApp/obj/CInemaApp.csproj.nuget.cache
+++ b/CInemaApp/obj/CInemaApp.csproj.nuget.cache
@@ -1,5 +1,5 @@
{
"version": 1,
- "dgSpecHash": "9ms+ONlTM7CoijfZIBrvdlZWURJpkruBVMtyGqHAEdLcmV1B+HH0MlH+Aftez+ihSQYsIaL1mFgy4GdOVIP9lw==",
+ "dgSpecHash": "Xx80mT94F9JXN6m7O+pWDeOv4IKS/rOmFsImlxZJKsV969tjjqXLrOrF3UyANqaTHqRHXLl+qkNEQnlN8w5+oQ==",
"success": true
}
\ No newline at end of file
diff --git a/CInemaApp/obj/CInemaApp.csproj.nuget.dgspec.json b/CInemaApp/obj/CInemaApp.csproj.nuget.dgspec.json
index cf3360b..0c753cf 100644
--- a/CInemaApp/obj/CInemaApp.csproj.nuget.dgspec.json
+++ b/CInemaApp/obj/CInemaApp.csproj.nuget.dgspec.json
@@ -1,20 +1,20 @@
{
"format": 1,
"restore": {
- "D:\\documenten\\GitHub\\Cinema-App\\CInemaApp\\CInemaApp.csproj": {}
+ "C:\\Users\\basvo\\Documents\\GitHub\\Cinema-App\\CInemaApp\\CInemaApp.csproj": {}
},
"projects": {
- "D:\\documenten\\GitHub\\Cinema-App\\CInemaApp\\CInemaApp.csproj": {
+ "C:\\Users\\basvo\\Documents\\GitHub\\Cinema-App\\CInemaApp\\CInemaApp.csproj": {
"version": "1.0.0",
"restore": {
- "projectUniqueName": "D:\\documenten\\GitHub\\Cinema-App\\CInemaApp\\CInemaApp.csproj",
+ "projectUniqueName": "C:\\Users\\basvo\\Documents\\GitHub\\Cinema-App\\CInemaApp\\CInemaApp.csproj",
"projectName": "CInemaApp",
- "projectPath": "D:\\documenten\\GitHub\\Cinema-App\\CInemaApp\\CInemaApp.csproj",
- "packagesPath": "C:\\Users\\Acer\\.nuget\\packages\\",
- "outputPath": "D:\\documenten\\GitHub\\Cinema-App\\CInemaApp\\obj\\",
+ "projectPath": "C:\\Users\\basvo\\Documents\\GitHub\\Cinema-App\\CInemaApp\\CInemaApp.csproj",
+ "packagesPath": "C:\\Users\\basvo\\.nuget\\packages\\",
+ "outputPath": "C:\\Users\\basvo\\Documents\\GitHub\\Cinema-App\\CInemaApp\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
- "C:\\Users\\Acer\\AppData\\Roaming\\NuGet\\NuGet.Config",
+ "C:\\Users\\basvo\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
@@ -37,6 +37,12 @@
},
"frameworks": {
"netcoreapp3.0": {
+ "dependencies": {
+ "Newtonsoft.Json": {
+ "target": "Package",
+ "version": "[12.0.3, )"
+ }
+ },
"imports": [
"net461",
"net462",
@@ -47,12 +53,30 @@
],
"assetTargetFallback": true,
"warn": true,
+ "downloadDependencies": [
+ {
+ "name": "Microsoft.AspNetCore.App.Ref",
+ "version": "[3.0.1, 3.0.1]"
+ },
+ {
+ "name": "Microsoft.NETCore.App.Host.win-x64",
+ "version": "[3.0.3, 3.0.3]"
+ },
+ {
+ "name": "Microsoft.NETCore.App.Ref",
+ "version": "[3.0.0, 3.0.0]"
+ },
+ {
+ "name": "Microsoft.WindowsDesktop.App.Ref",
+ "version": "[3.0.0, 3.0.0]"
+ }
+ ],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
- "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.0.100\\RuntimeIdentifierGraph.json"
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.201\\RuntimeIdentifierGraph.json"
}
}
}
diff --git a/CInemaApp/obj/CInemaApp.csproj.nuget.g.props b/CInemaApp/obj/CInemaApp.csproj.nuget.g.props
index 0340cdf..4c5e855 100644
--- a/CInemaApp/obj/CInemaApp.csproj.nuget.g.props
+++ b/CInemaApp/obj/CInemaApp.csproj.nuget.g.props
@@ -5,9 +5,9 @@
NuGet
$(MSBuildThisFileDirectory)project.assets.json
$(UserProfile)\.nuget\packages\
- C:\Users\Acer\.nuget\packages\
+ C:\Users\basvo\.nuget\packages\
PackageReference
- 5.3.0
+ 5.5.0
$(MSBuildAllProjects);$(MSBuildThisFileFullPath)
diff --git a/CInemaApp/obj/Debug/netcoreapp3.0/CInemaApp.assets.cache b/CInemaApp/obj/Debug/netcoreapp3.0/CInemaApp.assets.cache
index b52fc9a..6360b6c 100644
Binary files a/CInemaApp/obj/Debug/netcoreapp3.0/CInemaApp.assets.cache and b/CInemaApp/obj/Debug/netcoreapp3.0/CInemaApp.assets.cache differ
diff --git a/CInemaApp/obj/Debug/netcoreapp3.0/CInemaApp.csproj.CopyComplete b/CInemaApp/obj/Debug/netcoreapp3.0/CInemaApp.csproj.CopyComplete
new file mode 100644
index 0000000..e69de29
diff --git a/CInemaApp/obj/Debug/netcoreapp3.0/CInemaApp.csproj.CoreCompileInputs.cache b/CInemaApp/obj/Debug/netcoreapp3.0/CInemaApp.csproj.CoreCompileInputs.cache
new file mode 100644
index 0000000..300f4e0
--- /dev/null
+++ b/CInemaApp/obj/Debug/netcoreapp3.0/CInemaApp.csproj.CoreCompileInputs.cache
@@ -0,0 +1 @@
+c0387738cb25368834ac9f225edc9012c07a6843
diff --git a/CInemaApp/obj/Debug/netcoreapp3.0/CInemaApp.csproj.FileListAbsolute.txt b/CInemaApp/obj/Debug/netcoreapp3.0/CInemaApp.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..653d3bf
--- /dev/null
+++ b/CInemaApp/obj/Debug/netcoreapp3.0/CInemaApp.csproj.FileListAbsolute.txt
@@ -0,0 +1,19 @@
+C:\Users\jeroe\source\repos\Cinema-App\CInemaApp\bin\Debug\netcoreapp3.0\CInemaApp.exe
+C:\Users\jeroe\source\repos\Cinema-App\CInemaApp\bin\Debug\netcoreapp3.0\CInemaApp.deps.json
+C:\Users\jeroe\source\repos\Cinema-App\CInemaApp\bin\Debug\netcoreapp3.0\CInemaApp.runtimeconfig.json
+C:\Users\jeroe\source\repos\Cinema-App\CInemaApp\bin\Debug\netcoreapp3.0\CInemaApp.runtimeconfig.dev.json
+C:\Users\jeroe\source\repos\Cinema-App\CInemaApp\bin\Debug\netcoreapp3.0\CInemaApp.dll
+C:\Users\jeroe\source\repos\Cinema-App\CInemaApp\bin\Debug\netcoreapp3.0\CInemaApp.pdb
+C:\Users\jeroe\source\repos\Cinema-App\CInemaApp\obj\Debug\netcoreapp3.0\CInemaApp.csprojAssemblyReference.cache
+C:\Users\jeroe\source\repos\Cinema-App\CInemaApp\obj\Debug\netcoreapp3.0\CInemaApp.AssemblyInfoInputs.cache
+C:\Users\jeroe\source\repos\Cinema-App\CInemaApp\obj\Debug\netcoreapp3.0\CInemaApp.AssemblyInfo.cs
+C:\Users\jeroe\source\repos\Cinema-App\CInemaApp\obj\Debug\netcoreapp3.0\CInemaApp.dll
+C:\Users\jeroe\source\repos\Cinema-App\CInemaApp\obj\Debug\netcoreapp3.0\CInemaApp.pdb
+C:\Users\jeroe\source\repos\Cinema-App\CInemaApp\bin\Debug\netcoreapp3.0\Newtonsoft.Json.dll
+C:\Users\jeroe\source\repos\Cinema-App\CInemaApp\obj\Debug\netcoreapp3.0\CInemaApp.csproj.CopyComplete
+C:\Users\basvo\Documents\GitHub\Cinema-App\CInemaApp\obj\Debug\netcoreapp3.0\CInemaApp.csprojAssemblyReference.cache
+C:\Users\basvo\Documents\GitHub\Cinema-App\CInemaApp\obj\Debug\netcoreapp3.0\CInemaApp.csproj.CoreCompileInputs.cache
+C:\Users\basvo\Documents\GitHub\Cinema-App\CInemaApp\obj\Debug\netcoreapp3.0\CInemaApp.AssemblyInfoInputs.cache
+C:\Users\basvo\Documents\GitHub\Cinema-App\CInemaApp\obj\Debug\netcoreapp3.0\CInemaApp.AssemblyInfo.cs
+C:\Users\basvo\Documents\GitHub\Cinema-App\CInemaApp\obj\Debug\netcoreapp3.0\CInemaApp.dll
+C:\Users\basvo\Documents\GitHub\Cinema-App\CInemaApp\obj\Debug\netcoreapp3.0\CInemaApp.pdb
diff --git a/CInemaApp/obj/Debug/netcoreapp3.0/CInemaApp.csprojAssemblyReference.cache b/CInemaApp/obj/Debug/netcoreapp3.0/CInemaApp.csprojAssemblyReference.cache
index 74fe67b..2031a99 100644
Binary files a/CInemaApp/obj/Debug/netcoreapp3.0/CInemaApp.csprojAssemblyReference.cache and b/CInemaApp/obj/Debug/netcoreapp3.0/CInemaApp.csprojAssemblyReference.cache differ
diff --git a/CInemaApp/obj/Debug/netcoreapp3.0/CInemaApp.dll b/CInemaApp/obj/Debug/netcoreapp3.0/CInemaApp.dll
new file mode 100644
index 0000000..f8870e2
Binary files /dev/null and b/CInemaApp/obj/Debug/netcoreapp3.0/CInemaApp.dll differ
diff --git a/CInemaApp/obj/Debug/netcoreapp3.0/CInemaApp.exe b/CInemaApp/obj/Debug/netcoreapp3.0/CInemaApp.exe
new file mode 100644
index 0000000..596ff47
Binary files /dev/null and b/CInemaApp/obj/Debug/netcoreapp3.0/CInemaApp.exe differ
diff --git a/CInemaApp/obj/Debug/netcoreapp3.0/CInemaApp.pdb b/CInemaApp/obj/Debug/netcoreapp3.0/CInemaApp.pdb
new file mode 100644
index 0000000..7b317cf
Binary files /dev/null and b/CInemaApp/obj/Debug/netcoreapp3.0/CInemaApp.pdb differ
diff --git a/CInemaApp/obj/Release/netcoreapp3.0/CInemaApp.AssemblyInfo.cs b/CInemaApp/obj/Release/netcoreapp3.0/CInemaApp.AssemblyInfo.cs
new file mode 100644
index 0000000..55730b8
--- /dev/null
+++ b/CInemaApp/obj/Release/netcoreapp3.0/CInemaApp.AssemblyInfo.cs
@@ -0,0 +1,23 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Reflection;
+
+[assembly: System.Reflection.AssemblyCompanyAttribute("CInemaApp")]
+[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
+[assembly: System.Reflection.AssemblyProductAttribute("CInemaApp")]
+[assembly: System.Reflection.AssemblyTitleAttribute("CInemaApp")]
+[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
+
+// Generated by the MSBuild WriteCodeFragment class.
+
diff --git a/CInemaApp/obj/Release/netcoreapp3.0/CInemaApp.AssemblyInfoInputs.cache b/CInemaApp/obj/Release/netcoreapp3.0/CInemaApp.AssemblyInfoInputs.cache
new file mode 100644
index 0000000..b61068f
--- /dev/null
+++ b/CInemaApp/obj/Release/netcoreapp3.0/CInemaApp.AssemblyInfoInputs.cache
@@ -0,0 +1 @@
+df79f3db2e182c520d938f5896d10caf9643433f
diff --git a/CInemaApp/obj/Release/netcoreapp3.0/CInemaApp.assets.cache b/CInemaApp/obj/Release/netcoreapp3.0/CInemaApp.assets.cache
new file mode 100644
index 0000000..10c922b
Binary files /dev/null and b/CInemaApp/obj/Release/netcoreapp3.0/CInemaApp.assets.cache differ
diff --git a/CInemaApp/obj/project.assets.json b/CInemaApp/obj/project.assets.json
index a0eadd5..769ce0d 100644
--- a/CInemaApp/obj/project.assets.json
+++ b/CInemaApp/obj/project.assets.json
@@ -1,26 +1,70 @@
{
"version": 3,
"targets": {
- ".NETCoreApp,Version=v3.0": {}
+ ".NETCoreApp,Version=v3.0": {
+ "Newtonsoft.Json/12.0.3": {
+ "type": "package",
+ "compile": {
+ "lib/netstandard2.0/Newtonsoft.Json.dll": {}
+ },
+ "runtime": {
+ "lib/netstandard2.0/Newtonsoft.Json.dll": {}
+ }
+ }
+ }
+ },
+ "libraries": {
+ "Newtonsoft.Json/12.0.3": {
+ "sha512": "6mgjfnRB4jKMlzHSl+VD+oUc1IebOZabkbyWj2RiTgWwYPPuaK1H97G1sHqGwPlS5npiF5Q0OrxN1wni2n5QWg==",
+ "type": "package",
+ "path": "newtonsoft.json/12.0.3",
+ "files": [
+ ".nupkg.metadata",
+ ".signature.p7s",
+ "LICENSE.md",
+ "lib/net20/Newtonsoft.Json.dll",
+ "lib/net20/Newtonsoft.Json.xml",
+ "lib/net35/Newtonsoft.Json.dll",
+ "lib/net35/Newtonsoft.Json.xml",
+ "lib/net40/Newtonsoft.Json.dll",
+ "lib/net40/Newtonsoft.Json.xml",
+ "lib/net45/Newtonsoft.Json.dll",
+ "lib/net45/Newtonsoft.Json.xml",
+ "lib/netstandard1.0/Newtonsoft.Json.dll",
+ "lib/netstandard1.0/Newtonsoft.Json.xml",
+ "lib/netstandard1.3/Newtonsoft.Json.dll",
+ "lib/netstandard1.3/Newtonsoft.Json.xml",
+ "lib/netstandard2.0/Newtonsoft.Json.dll",
+ "lib/netstandard2.0/Newtonsoft.Json.xml",
+ "lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll",
+ "lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.xml",
+ "lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll",
+ "lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.xml",
+ "newtonsoft.json.12.0.3.nupkg.sha512",
+ "newtonsoft.json.nuspec",
+ "packageIcon.png"
+ ]
+ }
},
- "libraries": {},
"projectFileDependencyGroups": {
- ".NETCoreApp,Version=v3.0": []
+ ".NETCoreApp,Version=v3.0": [
+ "Newtonsoft.Json >= 12.0.3"
+ ]
},
"packageFolders": {
- "C:\\Users\\Acer\\.nuget\\packages\\": {}
+ "C:\\Users\\basvo\\.nuget\\packages\\": {}
},
"project": {
"version": "1.0.0",
"restore": {
- "projectUniqueName": "D:\\documenten\\GitHub\\Cinema-App\\CInemaApp\\CInemaApp.csproj",
+ "projectUniqueName": "C:\\Users\\basvo\\Documents\\GitHub\\Cinema-App\\CInemaApp\\CInemaApp.csproj",
"projectName": "CInemaApp",
- "projectPath": "D:\\documenten\\GitHub\\Cinema-App\\CInemaApp\\CInemaApp.csproj",
- "packagesPath": "C:\\Users\\Acer\\.nuget\\packages\\",
- "outputPath": "D:\\documenten\\GitHub\\Cinema-App\\CInemaApp\\obj\\",
+ "projectPath": "C:\\Users\\basvo\\Documents\\GitHub\\Cinema-App\\CInemaApp\\CInemaApp.csproj",
+ "packagesPath": "C:\\Users\\basvo\\.nuget\\packages\\",
+ "outputPath": "C:\\Users\\basvo\\Documents\\GitHub\\Cinema-App\\CInemaApp\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
- "C:\\Users\\Acer\\AppData\\Roaming\\NuGet\\NuGet.Config",
+ "C:\\Users\\basvo\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
@@ -43,6 +87,12 @@
},
"frameworks": {
"netcoreapp3.0": {
+ "dependencies": {
+ "Newtonsoft.Json": {
+ "target": "Package",
+ "version": "[12.0.3, )"
+ }
+ },
"imports": [
"net461",
"net462",
@@ -53,12 +103,30 @@
],
"assetTargetFallback": true,
"warn": true,
+ "downloadDependencies": [
+ {
+ "name": "Microsoft.AspNetCore.App.Ref",
+ "version": "[3.0.1, 3.0.1]"
+ },
+ {
+ "name": "Microsoft.NETCore.App.Host.win-x64",
+ "version": "[3.0.3, 3.0.3]"
+ },
+ {
+ "name": "Microsoft.NETCore.App.Ref",
+ "version": "[3.0.0, 3.0.0]"
+ },
+ {
+ "name": "Microsoft.WindowsDesktop.App.Ref",
+ "version": "[3.0.0, 3.0.0]"
+ }
+ ],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
- "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.0.100\\RuntimeIdentifierGraph.json"
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.201\\RuntimeIdentifierGraph.json"
}
}
}
diff --git a/CInemaApp/obj/project.nuget.cache b/CInemaApp/obj/project.nuget.cache
new file mode 100644
index 0000000..fc7fe51
--- /dev/null
+++ b/CInemaApp/obj/project.nuget.cache
@@ -0,0 +1,14 @@
+{
+ "version": 2,
+ "dgSpecHash": "dN/NP0WEf5XjJWJiYM7i0bWD/f/lMLXh6PbWTEnkdFe2UcKrVt00c38zDb6P2gTOvqBHM+4r2ps/nTA/91B+SA==",
+ "success": true,
+ "projectFilePath": "C:\\Users\\basvo\\Documents\\GitHub\\Cinema-App\\CInemaApp\\CInemaApp.csproj",
+ "expectedPackageFiles": [
+ "C:\\Users\\basvo\\.nuget\\packages\\newtonsoft.json\\12.0.3\\newtonsoft.json.12.0.3.nupkg.sha512",
+ "C:\\Users\\basvo\\.nuget\\packages\\microsoft.aspnetcore.app.ref\\3.0.1\\microsoft.aspnetcore.app.ref.3.0.1.nupkg.sha512",
+ "C:\\Users\\basvo\\.nuget\\packages\\microsoft.netcore.app.ref\\3.0.0\\microsoft.netcore.app.ref.3.0.0.nupkg.sha512",
+ "C:\\Users\\basvo\\.nuget\\packages\\microsoft.netcore.app.host.win-x64\\3.0.3\\microsoft.netcore.app.host.win-x64.3.0.3.nupkg.sha512",
+ "C:\\Users\\basvo\\.nuget\\packages\\microsoft.windowsdesktop.app.ref\\3.0.0\\microsoft.windowsdesktop.app.ref.3.0.0.nupkg.sha512"
+ ],
+ "logs": []
+}
\ No newline at end of file
diff --git a/CInemaApp/seatingReservation.cs b/CInemaApp/seatingReservation.cs
new file mode 100644
index 0000000..28eee6a
--- /dev/null
+++ b/CInemaApp/seatingReservation.cs
@@ -0,0 +1,185 @@
+using System;
+<<<<<<< HEAD
+using System.Collections.Generic;
+using System.IO;
+using System.Reflection;
+using Newtonsoft.Json;
+
+namespace CInemaApp
+{
+ class Program
+ {
+ private static int Main(string[] args)
+ {
+ bool c = true;
+
+ while (c)
+ {
+
+ // shows every movie name in the list
+ for (int x = 1; x < Data.LoadMovies().Count + 1; x++)
+ {
+ Console.WriteLine(x + ": " + Data.LoadMovies()[x - 1].GetMovieName());
+ }
+ // a little menu
+ Console.WriteLine("enter 1 for adding movies");
+ Console.WriteLine("enter 2 for removing movies");
+ Console.WriteLine("enter quit to stop");
+ Console.Write("Enter a command: ");
+ string val = Console.ReadLine();
+ if (val == "quit")
+ {
+ c = false;
+ }
+ // add a movie
+ else if (val == "1")
+ {
+ Console.WriteLine("Name of the movie: ");
+ string filmname = Console.ReadLine();
+ Console.WriteLine("Description of the movie: ");
+ string description = Console.ReadLine();
+ Console.WriteLine("Duration of the movie: ");
+ int duration = Convert.ToInt32(Console.ReadLine());
+ Console.WriteLine("Genre of the movie: ");
+ string genre = Console.ReadLine();
+ Movie movie1 = new Movie(filmname, description, duration, genre); // new object
+ List list = Data.LoadMovies();
+ list.Add(movie1);
+ var test = JsonConvert.SerializeObject(list, Formatting.Indented);
+ File.WriteAllText(@"C:\Users\jeroe\source\repos\Cinema-App\CInemaApp\movies.json", test);
+ }
+ // remove a movie based on a position
+ else if (val == "2")
+ {
+ //can be found at MovieData.cs
+ List list = Data.LoadMovies();
+ for (int x = 1; x < Data.LoadMovies().Count + 1; x++)
+ {
+ Console.WriteLine(x + Data.LoadMovies()[x - 1].GetMovieName());
+
+ }
+ Console.WriteLine("type the name of the movie that you want to remove: ");
+ string r = Console.ReadLine();
+ bool found = false;
+ //goes through the whole json file
+ for (int x = 1; x < Data.LoadMovies().Count + 1; x++)
+ {
+ // removes a movie if it found a name with the same input
+ if ( r == Data.LoadMovies()[x - 1].GetMovieName())
+ {
+ list.RemoveAt(x - 1);
+ found = true;
+ }
+
+ }
+ if (found == false)
+ {
+ Console.WriteLine("the movie is not found");
+ }
+ // sends the data back to the json file
+ var test = JsonConvert.SerializeObject(list, Formatting.Indented);
+ File.WriteAllText(@"C:\Users\jeroe\source\repos\Cinema-App\CInemaApp\movies.json", test);
+ }
+ else
+ {
+ Console.WriteLine("there is no movie on that posisiton");
+ }
+ }
+ return 0;
+=======
+using System.Linq;
+
+namespace CinemaApp
+{
+ class program
+ {
+ static void Main(string[] args)
+ {
+ int e = 0;
+ int width = 0;
+ int height = 0;
+ int movieHall = 1;
+ int userRow = 0;
+ int userColumn = 0;
+ int userSeat = 0;
+
+
+ if (movieHall == 1)
+ {
+ width = 15;
+ height = 10;
+ }
+ else if (movieHall == 2)
+ {
+ width = 20;
+ height = 15;
+ }
+ else if (movieHall == 3)
+ {
+ width = 25;
+ height = 20;
+ }
+ int[] userSeats = new int[width * height];
+ void showSeats()
+ {
+ for (int i = -1; i < height; i++)
+ {
+ Console.Write(i+1);
+ if (i < 9) Console.Write(" ");
+
+ for (int o = 0; o < width; o++)
+ {
+ if (i == -1)
+ {
+ Console.Write(" " + (o + 1));
+ if (o< 9) Console.Write(" ");
+ Console.Write(" ");
+ }
+ else
+ {
+ if (userSeats.Contains(i * width + o + 1))
+ {
+ Console.Write("[ X ]");
+ }
+ else
+ {
+ Console.Write("[ O ]");
+ }
+ }
+ }
+ Console.WriteLine("\n");
+ }
+ }
+ void seatSelection()
+ {
+ Console.WriteLine("Enter the row of the seat you want to reserve (1 - " + height + ")");
+ bool parseSucc = int.TryParse(Console.ReadLine(), out userRow);
+ Console.WriteLine("Enter the column of the seat you want to reserve (1 - " + width + ")");
+ parseSucc = int.TryParse(Console.ReadLine(), out userColumn);
+ userSeat = (userRow - 1) * width + userColumn;
+ if (!userSeats.Contains(userSeat) && userRow <= height && userColumn <= width) {
+ userSeats[e] = userSeat;
+ showSeats();
+ }
+ else { Console.WriteLine("Unavailible seat, try again."); }
+
+ }
+ showSeats();
+ seatSelection();
+ e += 1;
+
+ Console.WriteLine("Type OK to confirm reservation, type anything else to select another seat.");
+ while(Console.ReadLine() != "OK")
+ {
+ seatSelection();
+ e += 1;
+ Console.WriteLine("Type OK to confirm reservation, type anything else to select a different seat.");
+
+
+ }
+
+>>>>>>> Bas
+ }
+ }
+
+}
\ No newline at end of file
diff --git a/ConsoleApp1/ConsoleApp1.csproj b/ConsoleApp1/ConsoleApp1.csproj
new file mode 100644
index 0000000..c73e0d1
--- /dev/null
+++ b/ConsoleApp1/ConsoleApp1.csproj
@@ -0,0 +1,8 @@
+
+
+
+ Exe
+ netcoreapp3.1
+
+
+
diff --git a/ConsoleApp1/List.cs b/ConsoleApp1/List.cs
new file mode 100644
index 0000000..fce7b02
--- /dev/null
+++ b/ConsoleApp1/List.cs
@@ -0,0 +1,6 @@
+namespace CInemaApp
+{
+ internal class List
+ {
+ }
+}
\ No newline at end of file
diff --git a/ConsoleApp1/Program.cs b/ConsoleApp1/Program.cs
new file mode 100644
index 0000000..a3c86c0
--- /dev/null
+++ b/ConsoleApp1/Program.cs
@@ -0,0 +1,246 @@
+using System;
+
+namespace CInemaApp
+{
+ // the 'login screen' that asks whether the current user is an admin or not
+ public class Login
+ {
+ public static void Question()
+ {
+ User.STARS();
+ Console.WriteLine("Are you an Admin or User? [A/U]");
+ string Answer = Console.ReadLine();
+
+ //StringComparison.OrdinalIgnoreCase makes sure that the answer gets through despite it being upper or lower case
+ //Answer.Equals is the same as Answer = "U"
+ if (Answer.Equals("U", StringComparison.OrdinalIgnoreCase))
+ User.Menu();
+ else if (Answer.Equals("A", StringComparison.OrdinalIgnoreCase))
+ Admin.Menu();
+ else
+ Question();
+ //repeats the question if it isn't answered properly .-.
+ }
+ }
+
+ // menu screen for the user
+ public class User
+ {
+ public static void STARS()
+ {
+ Console.WriteLine("********************");
+ }
+ public static void bb()
+ //works as a back button
+ {
+ Console.WriteLine("To go back to the main menu, please press Enter.");
+ string key = Console.ReadLine();
+
+ if (key == "" + "") //enter
+ Menu();
+ else
+ bb();
+
+ }
+
+ public static void Contact()
+ {
+ Console.WriteLine("CINEMAPP CONTACT INFO\n");
+ Console.WriteLine("Phone number: 06123456789");
+ Console.WriteLine("Email: cinemapp@hr.nl\n");
+ bb();
+ }
+ public static void Current()
+ {
+ bb();
+ }
+ public static void Upcoming()
+ {
+ bb();
+ }
+ public static void Prices()
+ {
+ Console.WriteLine("MOVIE TICKET PRICES BY AGE\n");
+
+ Console.WriteLine("REGULAR 2D MOVIES");
+ Console.WriteLine("Children up to 11 - $6.00");
+ Console.WriteLine("Regular - $11.00");
+ Console.WriteLine("Teenagers (aged 12 - 17) and elderly (65+) - $9.00\n");
+
+ Console.WriteLine("3D MOVIES");
+ Console.WriteLine("Children up to 11 - $9.00");
+ Console.WriteLine("Regular - $14.00");
+ Console.WriteLine("Teenagers (aged 12 - 17) and elderly (65+) - $12.00\n");
+
+ Console.WriteLine("IMAX/4DX MOVIES");
+ Console.WriteLine("Children up to 11 - $11.50");
+ Console.WriteLine("Regular - $16.50\n");
+
+ bb();
+ }
+ public static void Events()
+ {
+ bb();
+ }
+ public static void Sally()
+ {
+ bb();
+ }
+
+ public static void Choices()
+ {
+ string choice = Console.ReadLine();
+ switch (choice)
+ //switch cases are pretty similar to if-else statements, only it looks better and works a bit faster
+ // also you don't have to deal with 80 else ifs back to back
+ {
+ case "1":
+ STARS();
+ Console.WriteLine("Welcome to the current movies page!");
+ Current();
+ break; // <<<<< needed because switch cases REFUSE to work if the breaks are left out
+ case "2":
+ STARS();
+ Console.WriteLine("Welcome to the popular movies page!");
+ Console.WriteLine("These are the popularmovies: ");
+
+ System.Collections.Generic.List Movies = new System.Collections.Generic.List();
+ Movies.Add("Bad Boys for Life from 2020");
+ Movies.Add("The Godfather from 1974");
+ Movies.Add("1917 from 2020");
+ Movies.Add("Guardians of the Galaxy from 2014");
+ Movies.Add("Joker from 2019");
+
+ foreach (var movie in Movies)
+
+ Console.WriteLine(Movies);
+
+ Upcoming();
+ break;
+ case "3":
+ STARS();
+ Prices();
+ break;
+ case "4":
+ STARS();
+ Console.WriteLine("Welcome to the events page!");
+ Events();
+ break;
+ case "5":
+ STARS();
+ Console.WriteLine("Welcome to sally's cafe page!");
+ Sally();
+ break;
+ case "6":
+ STARS();
+ Contact();
+ break;
+ case "7":
+ Console.WriteLine("Goodbye.");
+ break;
+ default:
+ Console.WriteLine("False input. Try again.");
+ Choices();
+ break;
+ }
+ }
+
+ public static void Menu()
+ {
+ STARS();
+ Console.WriteLine("[1] - Current Movies");
+ Console.WriteLine("[2] - Popular Movies");
+ Console.WriteLine("[3] - Movie Prices");
+ Console.WriteLine("[4] - Events");
+ Console.WriteLine("[5] - Sally's Café");
+ Console.WriteLine("[6] - Contact Information");
+ Console.WriteLine("[7] - Quit");
+ STARS();
+ Console.WriteLine("Please choose an option to continue.");
+
+ Choices();
+
+ }
+
+ }
+
+ // menu screen for the admin
+ public class Admin
+ {
+ public static void Menu()
+ {
+ User.STARS();
+ Console.WriteLine("[1] - Current Movies");
+ Console.WriteLine("[2] - Upcoming Movies");
+ Console.WriteLine("[3] - Movie Prices");
+ Console.WriteLine("[4] - Events");
+ Console.WriteLine("[5] - Sally's Café");
+ Console.WriteLine("[6] - Contact Information");
+ Console.WriteLine("[7] - Quit");
+ User.STARS();
+ Console.WriteLine("Please choose an option to continue.");
+
+ Choices();
+ }
+ public static void Current()
+ {
+ string tc = Console.ReadLine();
+ }
+ public static void Upcoming()
+ {
+ string tu = Console.ReadLine();
+ }
+ public static void Prices()
+ {
+ string tp = Console.ReadLine();
+ }
+ public static void Events()
+ {
+ string te = Console.ReadLine();
+ }
+ public static void Sally()
+ {
+ string ts = Console.ReadLine();
+ }
+ public static void Contact()
+ {
+ string tco = Console.ReadLine();
+ }
+ public static void Choices()
+ {
+ string choice = Console.ReadLine();
+ switch (choice)
+ {
+ case "1":
+ Current();
+ break;
+ case "2":
+ Upcoming();
+ break;
+ case "3":
+ Prices();
+ break;
+ case "4":
+ Events();
+ break;
+ case "5":
+ Sally();
+ break;
+ case "6":
+ Contact();
+ break;
+ default:
+ Choices();
+ break;
+ }
+ }
+ }
+ class Program
+ {
+ static void Main(string[] args)
+ {
+ Login.Question();
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.deps.json b/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.deps.json
new file mode 100644
index 0000000..8c19144
--- /dev/null
+++ b/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.deps.json
@@ -0,0 +1,23 @@
+{
+ "runtimeTarget": {
+ "name": ".NETCoreApp,Version=v3.1",
+ "signature": ""
+ },
+ "compilationOptions": {},
+ "targets": {
+ ".NETCoreApp,Version=v3.1": {
+ "ConsoleApp1/1.0.0": {
+ "runtime": {
+ "ConsoleApp1.dll": {}
+ }
+ }
+ }
+ },
+ "libraries": {
+ "ConsoleApp1/1.0.0": {
+ "type": "project",
+ "serviceable": false,
+ "sha512": ""
+ }
+ }
+}
\ No newline at end of file
diff --git a/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.dll b/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.dll
new file mode 100644
index 0000000..827b9ad
Binary files /dev/null and b/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.dll differ
diff --git a/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.exe b/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.exe
new file mode 100644
index 0000000..5888343
Binary files /dev/null and b/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.exe differ
diff --git a/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.pdb b/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.pdb
new file mode 100644
index 0000000..08bd944
Binary files /dev/null and b/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.pdb differ
diff --git a/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.runtimeconfig.dev.json b/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.runtimeconfig.dev.json
new file mode 100644
index 0000000..f73158a
--- /dev/null
+++ b/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.runtimeconfig.dev.json
@@ -0,0 +1,8 @@
+{
+ "runtimeOptions": {
+ "additionalProbingPaths": [
+ "C:\\Users\\Roomy\\.dotnet\\store\\|arch|\\|tfm|",
+ "C:\\Users\\Roomy\\.nuget\\packages"
+ ]
+ }
+}
\ No newline at end of file
diff --git a/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.runtimeconfig.json b/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.runtimeconfig.json
new file mode 100644
index 0000000..bc456d7
--- /dev/null
+++ b/ConsoleApp1/bin/Debug/netcoreapp3.1/ConsoleApp1.runtimeconfig.json
@@ -0,0 +1,9 @@
+{
+ "runtimeOptions": {
+ "tfm": "netcoreapp3.1",
+ "framework": {
+ "name": "Microsoft.NETCore.App",
+ "version": "3.1.0"
+ }
+ }
+}
\ No newline at end of file
diff --git a/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.cache b/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.cache
new file mode 100644
index 0000000..852d93a
--- /dev/null
+++ b/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.cache
@@ -0,0 +1,5 @@
+{
+ "version": 1,
+ "dgSpecHash": "MYGudAr+ay6hr0/gf6uad4nWBmriVpaAj63adjeT8krP89uVsLBJ2f9LExGjZkYaXuZHCAOCKVVo3KJ7/MZkqg==",
+ "success": true
+}
\ No newline at end of file
diff --git a/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.dgspec.json b/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.dgspec.json
new file mode 100644
index 0000000..f0dcfcf
--- /dev/null
+++ b/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.dgspec.json
@@ -0,0 +1,60 @@
+{
+ "format": 1,
+ "restore": {
+ "C:\\Users\\Roomy\\Documents\\GitHub\\Cinema-App\\ConsoleApp1\\ConsoleApp1.csproj": {}
+ },
+ "projects": {
+ "C:\\Users\\Roomy\\Documents\\GitHub\\Cinema-App\\ConsoleApp1\\ConsoleApp1.csproj": {
+ "version": "1.0.0",
+ "restore": {
+ "projectUniqueName": "C:\\Users\\Roomy\\Documents\\GitHub\\Cinema-App\\ConsoleApp1\\ConsoleApp1.csproj",
+ "projectName": "ConsoleApp1",
+ "projectPath": "C:\\Users\\Roomy\\Documents\\GitHub\\Cinema-App\\ConsoleApp1\\ConsoleApp1.csproj",
+ "packagesPath": "C:\\Users\\Roomy\\.nuget\\packages\\",
+ "outputPath": "C:\\Users\\Roomy\\Documents\\GitHub\\Cinema-App\\ConsoleApp1\\obj\\",
+ "projectStyle": "PackageReference",
+ "configFilePaths": [
+ "C:\\Users\\Roomy\\AppData\\Roaming\\NuGet\\NuGet.Config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+ ],
+ "originalTargetFrameworks": [
+ "netcoreapp3.1"
+ ],
+ "sources": {
+ "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+ "https://api.nuget.org/v3/index.json": {}
+ },
+ "frameworks": {
+ "netcoreapp3.1": {
+ "projectReferences": {}
+ }
+ },
+ "warningProperties": {
+ "warnAsError": [
+ "NU1605"
+ ]
+ }
+ },
+ "frameworks": {
+ "netcoreapp3.1": {
+ "imports": [
+ "net461",
+ "net462",
+ "net47",
+ "net471",
+ "net472",
+ "net48"
+ ],
+ "assetTargetFallback": true,
+ "warn": true,
+ "frameworkReferences": {
+ "Microsoft.NETCore.App": {
+ "privateAssets": "all"
+ }
+ },
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.101\\RuntimeIdentifierGraph.json"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.g.props b/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.g.props
new file mode 100644
index 0000000..236f6b4
--- /dev/null
+++ b/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.g.props
@@ -0,0 +1,15 @@
+
+
+
+ True
+ NuGet
+ $(MSBuildThisFileDirectory)project.assets.json
+ $(UserProfile)\.nuget\packages\
+ C:\Users\Roomy\.nuget\packages\
+ PackageReference
+ 5.4.0
+
+
+ $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
+
+
\ No newline at end of file
diff --git a/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.g.targets b/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.g.targets
new file mode 100644
index 0000000..53cfaa1
--- /dev/null
+++ b/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.g.targets
@@ -0,0 +1,6 @@
+
+
+
+ $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
+
+
\ No newline at end of file
diff --git a/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.AssemblyInfo.cs b/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.AssemblyInfo.cs
new file mode 100644
index 0000000..59389a0
--- /dev/null
+++ b/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.AssemblyInfo.cs
@@ -0,0 +1,23 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Reflection;
+
+[assembly: System.Reflection.AssemblyCompanyAttribute("ConsoleApp1")]
+[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
+[assembly: System.Reflection.AssemblyProductAttribute("ConsoleApp1")]
+[assembly: System.Reflection.AssemblyTitleAttribute("ConsoleApp1")]
+[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
+
+// Generated by the MSBuild WriteCodeFragment class.
+
diff --git a/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.AssemblyInfoInputs.cache b/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.AssemblyInfoInputs.cache
new file mode 100644
index 0000000..00a6ec1
--- /dev/null
+++ b/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.AssemblyInfoInputs.cache
@@ -0,0 +1 @@
+0cbac02cf6b33ab9449e1ec02e8dbba2474e8080
diff --git a/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.assets.cache b/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.assets.cache
new file mode 100644
index 0000000..d532564
Binary files /dev/null and b/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.assets.cache differ
diff --git a/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.csproj.FileListAbsolute.txt b/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..28f25ac
--- /dev/null
+++ b/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.csproj.FileListAbsolute.txt
@@ -0,0 +1,11 @@
+C:\Users\Roomy\Documents\GitHub\Cinema-App\ConsoleApp1\obj\Debug\netcoreapp3.1\ConsoleApp1.csprojAssemblyReference.cache
+C:\Users\Roomy\Documents\GitHub\Cinema-App\ConsoleApp1\obj\Debug\netcoreapp3.1\ConsoleApp1.AssemblyInfoInputs.cache
+C:\Users\Roomy\Documents\GitHub\Cinema-App\ConsoleApp1\obj\Debug\netcoreapp3.1\ConsoleApp1.AssemblyInfo.cs
+C:\Users\Roomy\Documents\GitHub\Cinema-App\ConsoleApp1\bin\Debug\netcoreapp3.1\ConsoleApp1.exe
+C:\Users\Roomy\Documents\GitHub\Cinema-App\ConsoleApp1\bin\Debug\netcoreapp3.1\ConsoleApp1.deps.json
+C:\Users\Roomy\Documents\GitHub\Cinema-App\ConsoleApp1\bin\Debug\netcoreapp3.1\ConsoleApp1.runtimeconfig.json
+C:\Users\Roomy\Documents\GitHub\Cinema-App\ConsoleApp1\bin\Debug\netcoreapp3.1\ConsoleApp1.runtimeconfig.dev.json
+C:\Users\Roomy\Documents\GitHub\Cinema-App\ConsoleApp1\bin\Debug\netcoreapp3.1\ConsoleApp1.dll
+C:\Users\Roomy\Documents\GitHub\Cinema-App\ConsoleApp1\bin\Debug\netcoreapp3.1\ConsoleApp1.pdb
+C:\Users\Roomy\Documents\GitHub\Cinema-App\ConsoleApp1\obj\Debug\netcoreapp3.1\ConsoleApp1.dll
+C:\Users\Roomy\Documents\GitHub\Cinema-App\ConsoleApp1\obj\Debug\netcoreapp3.1\ConsoleApp1.pdb
diff --git a/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.csprojAssemblyReference.cache b/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.csprojAssemblyReference.cache
new file mode 100644
index 0000000..558b0cf
Binary files /dev/null and b/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.csprojAssemblyReference.cache differ
diff --git a/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.dll b/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.dll
new file mode 100644
index 0000000..827b9ad
Binary files /dev/null and b/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.dll differ
diff --git a/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.exe b/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.exe
new file mode 100644
index 0000000..5888343
Binary files /dev/null and b/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.exe differ
diff --git a/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.pdb b/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.pdb
new file mode 100644
index 0000000..08bd944
Binary files /dev/null and b/ConsoleApp1/obj/Debug/netcoreapp3.1/ConsoleApp1.pdb differ
diff --git a/ConsoleApp1/obj/project.assets.json b/ConsoleApp1/obj/project.assets.json
new file mode 100644
index 0000000..2714ffc
--- /dev/null
+++ b/ConsoleApp1/obj/project.assets.json
@@ -0,0 +1,65 @@
+{
+ "version": 3,
+ "targets": {
+ ".NETCoreApp,Version=v3.1": {}
+ },
+ "libraries": {},
+ "projectFileDependencyGroups": {
+ ".NETCoreApp,Version=v3.1": []
+ },
+ "packageFolders": {
+ "C:\\Users\\Roomy\\.nuget\\packages\\": {}
+ },
+ "project": {
+ "version": "1.0.0",
+ "restore": {
+ "projectUniqueName": "C:\\Users\\Roomy\\Documents\\GitHub\\Cinema-App\\ConsoleApp1\\ConsoleApp1.csproj",
+ "projectName": "ConsoleApp1",
+ "projectPath": "C:\\Users\\Roomy\\Documents\\GitHub\\Cinema-App\\ConsoleApp1\\ConsoleApp1.csproj",
+ "packagesPath": "C:\\Users\\Roomy\\.nuget\\packages\\",
+ "outputPath": "C:\\Users\\Roomy\\Documents\\GitHub\\Cinema-App\\ConsoleApp1\\obj\\",
+ "projectStyle": "PackageReference",
+ "configFilePaths": [
+ "C:\\Users\\Roomy\\AppData\\Roaming\\NuGet\\NuGet.Config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+ ],
+ "originalTargetFrameworks": [
+ "netcoreapp3.1"
+ ],
+ "sources": {
+ "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+ "https://api.nuget.org/v3/index.json": {}
+ },
+ "frameworks": {
+ "netcoreapp3.1": {
+ "projectReferences": {}
+ }
+ },
+ "warningProperties": {
+ "warnAsError": [
+ "NU1605"
+ ]
+ }
+ },
+ "frameworks": {
+ "netcoreapp3.1": {
+ "imports": [
+ "net461",
+ "net462",
+ "net47",
+ "net471",
+ "net472",
+ "net48"
+ ],
+ "assetTargetFallback": true,
+ "warn": true,
+ "frameworkReferences": {
+ "Microsoft.NETCore.App": {
+ "privateAssets": "all"
+ }
+ },
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.101\\RuntimeIdentifierGraph.json"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/ConsoleApp1/popular.cs b/ConsoleApp1/popular.cs
new file mode 100644
index 0000000..99ce7d5
--- /dev/null
+++ b/ConsoleApp1/popular.cs
@@ -0,0 +1,22 @@
+using System;
+
+namespace ConsoleApp1
+{
+ class Program
+ {
+ static void Main(string[] args)
+ {
+ Console.WriteLine("These are the popularmovies: ");
+ List Movies = new List();
+ Movies.Add("Bad Boys for Life from 2020");
+ Movies.Add("The Godfather from 1974");
+ Movies.Add("1917 from 2020");
+ Movies.Add("Guardians of the Galaxy from 2014");
+ Movies.Add("Joker from 2019");
+
+ foreach (var movie in Movies)
+
+ Console.WriteLine(Movies);
+ }
+ }
+}
\ No newline at end of file
diff --git a/filter/filter.sln b/filter/filter.sln
new file mode 100644
index 0000000..baf484a
--- /dev/null
+++ b/filter/filter.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.29806.167
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "filter", "filter\filter.csproj", "{6FDB606C-4186-460C-A21F-3980462ACF86}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {6FDB606C-4186-460C-A21F-3980462ACF86}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {6FDB606C-4186-460C-A21F-3980462ACF86}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {6FDB606C-4186-460C-A21F-3980462ACF86}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {6FDB606C-4186-460C-A21F-3980462ACF86}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {B81D2569-EC72-4F22-AC4B-4A3CC0A34811}
+ EndGlobalSection
+EndGlobal
diff --git a/filter/filter/MovieData.cs b/filter/filter/MovieData.cs
new file mode 100644
index 0000000..3b78a73
--- /dev/null
+++ b/filter/filter/MovieData.cs
@@ -0,0 +1,20 @@
+using Newtonsoft.Json;
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Reflection;
+
+public static class Data
+{
+ public static List LoadMovies()
+ {
+ // Load the movieData.json here and parse to Movie objects
+ using (StreamReader r = new StreamReader(@"C:\Users\basvo\Documents\GitHub\Cinema-App\filter\filter\movies.json"))
+ {
+ string json = r.ReadToEnd();
+ List items = JsonConvert.DeserializeObject>(json);
+ return items;
+
+ }
+ }
+}
diff --git a/filter/filter/Movies.cs b/filter/filter/Movies.cs
new file mode 100644
index 0000000..effde61
--- /dev/null
+++ b/filter/filter/Movies.cs
@@ -0,0 +1,40 @@
+using System;
+
+public class Movie
+{
+
+ public string name; // Name of the movie
+ public string description; // Description of the movie
+ public int duration; // In minutes
+ public string genre; // genre name
+
+
+ // Constructor
+ public Movie(string name, string description, int duration, string genre)
+ {
+
+ this.name = name;
+ this.description = description;
+ this.duration = duration;
+ this.genre = genre;
+
+
+
+ }
+ public string GetMovieName()
+ {
+ return this.name;
+ }
+ public string GetMovieGenre()
+ {
+ return this.genre;
+ }
+
+ public int GetMovieDuration()
+ {
+ return this.duration;
+ }
+
+
+
+}
\ No newline at end of file
diff --git a/filter/filter/Program.cs b/filter/filter/Program.cs
new file mode 100644
index 0000000..f38524f
--- /dev/null
+++ b/filter/filter/Program.cs
@@ -0,0 +1,113 @@
+using System;
+using System.Linq;
+using Newtonsoft.Json;
+
+
+
+namespace filter
+{
+
+ class Program
+ {
+ static void Main(string[] args)
+ {
+ string tag1 = "emptyTag";
+ string tag2 = "emptyTag";
+ string tag3 = "emptyTag";
+ string movieGenres = "fantasy, horror, anime, action, adventure, family";
+ int minDuration = -1;
+ int maxDuration = 99999999;
+
+ void durationSelection()
+ {
+ Console.WriteLine("Enter the minimum duration (in minutes) of the movie");
+ int.TryParse(Console.ReadLine(), out minDuration);
+ while (minDuration <= 0)
+ {
+ Console.WriteLine("Please enter a numeric positive value, enter the minimum duration (in minutes) of the movie");
+ int.TryParse(Console.ReadLine(), out minDuration);
+ }
+
+ Console.WriteLine("Enter the maximum duration (in minutes) of the movie");
+ int.TryParse(Console.ReadLine(), out maxDuration);
+ while (maxDuration <= 0)
+ {
+ Console.WriteLine("Please enter a numeric positive value, enter the maximum duration (in minutes) of the movie");
+ int.TryParse(Console.ReadLine(), out maxDuration);
+ }
+ if (tag1 == "emptyTag")
+ {
+ Console.WriteLine("For filtering on genre, enter 1, for displaying filtered movies, enter anything else");
+ if (Console.ReadLine() == "1")
+ genreSelection();
+ }
+
+
+ }
+
+ void genreSelection()
+ {
+ Console.WriteLine("Enter your first genre:");
+ string selection = Console.ReadLine();
+ while (!movieGenres.Contains(selection))
+ {
+ Console.WriteLine("there are no movies with this genre, the genres you can choose from are: ");
+ Console.WriteLine(movieGenres);
+ selection = Console.ReadLine();
+ }
+ tag1 = selection;
+
+ Console.WriteLine("Enter 'OK' to enter a second tag, enter anything else to continue");
+
+ if (Console.ReadLine() == "OK")
+ {
+ Console.WriteLine("Enter your second genre:");
+ selection = Console.ReadLine();
+ while (!movieGenres.Contains(selection))
+ {
+ Console.WriteLine("there are no movies with this genre, the genres you can choose from are: ");
+ Console.WriteLine(movieGenres);
+ selection = Console.ReadLine();
+ }
+ tag2 = selection;
+
+ Console.WriteLine("Enter 'OK' to enter a second tag, enter anything else to continue");
+
+ if (Console.ReadLine() == "OK")
+ {
+ Console.WriteLine("Enter your third genre: a - b - c");
+ selection = Console.ReadLine();
+ while (!movieGenres.Contains(selection))
+ {
+ Console.WriteLine("there are no movies with this genre, the genres you can choose from are: ");
+ Console.WriteLine(movieGenres);
+ selection = Console.ReadLine();
+ }
+ tag3 = selection;
+ }
+ }
+ if (minDuration == 0 && maxDuration == 99999999)
+ {
+ Console.WriteLine("For filtering on duration, enter 1, for displaying filtered movies, enter anything else");
+ if (Console.ReadLine() == "1")
+ durationSelection();
+ }
+
+
+ }
+ Console.WriteLine("For filtering on genre, enter 1. For filtering on duration, enter anything else");
+ if (Console.ReadLine() == "1")
+ genreSelection();
+ else
+ durationSelection();
+
+ for (int x = 1; x < Data.LoadMovies().Count + 1; x++)
+ {
+ if ((tag1 == "emptyTag" || Data.LoadMovies()[x - 1].GetMovieGenre() == tag1 || Data.LoadMovies()[x - 1].GetMovieGenre() == tag2 || Data.LoadMovies()[x - 1].GetMovieGenre() == tag3) && Data.LoadMovies()[x - 1].GetMovieDuration() > minDuration && Data.LoadMovies()[x - 1].GetMovieDuration() < maxDuration)
+ Console.WriteLine(Data.LoadMovies()[x - 1].GetMovieName());
+ }
+ }
+ }
+ }
+
+
diff --git a/filter/filter/bin/Debug/netcoreapp3.1/Newtonsoft.Json.dll b/filter/filter/bin/Debug/netcoreapp3.1/Newtonsoft.Json.dll
new file mode 100644
index 0000000..b501fb6
Binary files /dev/null and b/filter/filter/bin/Debug/netcoreapp3.1/Newtonsoft.Json.dll differ
diff --git a/filter/filter/bin/Debug/netcoreapp3.1/filter.deps.json b/filter/filter/bin/Debug/netcoreapp3.1/filter.deps.json
new file mode 100644
index 0000000..8506fa5
--- /dev/null
+++ b/filter/filter/bin/Debug/netcoreapp3.1/filter.deps.json
@@ -0,0 +1,41 @@
+{
+ "runtimeTarget": {
+ "name": ".NETCoreApp,Version=v3.1",
+ "signature": ""
+ },
+ "compilationOptions": {},
+ "targets": {
+ ".NETCoreApp,Version=v3.1": {
+ "filter/1.0.0": {
+ "dependencies": {
+ "Newtonsoft.Json": "12.0.3"
+ },
+ "runtime": {
+ "filter.dll": {}
+ }
+ },
+ "Newtonsoft.Json/12.0.3": {
+ "runtime": {
+ "lib/netstandard2.0/Newtonsoft.Json.dll": {
+ "assemblyVersion": "12.0.0.0",
+ "fileVersion": "12.0.3.23909"
+ }
+ }
+ }
+ }
+ },
+ "libraries": {
+ "filter/1.0.0": {
+ "type": "project",
+ "serviceable": false,
+ "sha512": ""
+ },
+ "Newtonsoft.Json/12.0.3": {
+ "type": "package",
+ "serviceable": true,
+ "sha512": "sha512-6mgjfnRB4jKMlzHSl+VD+oUc1IebOZabkbyWj2RiTgWwYPPuaK1H97G1sHqGwPlS5npiF5Q0OrxN1wni2n5QWg==",
+ "path": "newtonsoft.json/12.0.3",
+ "hashPath": "newtonsoft.json.12.0.3.nupkg.sha512"
+ }
+ }
+}
\ No newline at end of file
diff --git a/filter/filter/bin/Debug/netcoreapp3.1/filter.dll b/filter/filter/bin/Debug/netcoreapp3.1/filter.dll
new file mode 100644
index 0000000..10c17a4
Binary files /dev/null and b/filter/filter/bin/Debug/netcoreapp3.1/filter.dll differ
diff --git a/filter/filter/bin/Debug/netcoreapp3.1/filter.exe b/filter/filter/bin/Debug/netcoreapp3.1/filter.exe
new file mode 100644
index 0000000..10c2726
Binary files /dev/null and b/filter/filter/bin/Debug/netcoreapp3.1/filter.exe differ
diff --git a/filter/filter/bin/Debug/netcoreapp3.1/filter.pdb b/filter/filter/bin/Debug/netcoreapp3.1/filter.pdb
new file mode 100644
index 0000000..47962fc
Binary files /dev/null and b/filter/filter/bin/Debug/netcoreapp3.1/filter.pdb differ
diff --git a/filter/filter/bin/Debug/netcoreapp3.1/filter.runtimeconfig.dev.json b/filter/filter/bin/Debug/netcoreapp3.1/filter.runtimeconfig.dev.json
new file mode 100644
index 0000000..969481f
--- /dev/null
+++ b/filter/filter/bin/Debug/netcoreapp3.1/filter.runtimeconfig.dev.json
@@ -0,0 +1,8 @@
+{
+ "runtimeOptions": {
+ "additionalProbingPaths": [
+ "C:\\Users\\basvo\\.dotnet\\store\\|arch|\\|tfm|",
+ "C:\\Users\\basvo\\.nuget\\packages"
+ ]
+ }
+}
\ No newline at end of file
diff --git a/filter/filter/bin/Debug/netcoreapp3.1/filter.runtimeconfig.json b/filter/filter/bin/Debug/netcoreapp3.1/filter.runtimeconfig.json
new file mode 100644
index 0000000..bc456d7
--- /dev/null
+++ b/filter/filter/bin/Debug/netcoreapp3.1/filter.runtimeconfig.json
@@ -0,0 +1,9 @@
+{
+ "runtimeOptions": {
+ "tfm": "netcoreapp3.1",
+ "framework": {
+ "name": "Microsoft.NETCore.App",
+ "version": "3.1.0"
+ }
+ }
+}
\ No newline at end of file
diff --git a/filter/filter/filter.csproj b/filter/filter/filter.csproj
new file mode 100644
index 0000000..0eaee1b
--- /dev/null
+++ b/filter/filter/filter.csproj
@@ -0,0 +1,12 @@
+
+
+
+ Exe
+ netcoreapp3.1
+
+
+
+
+
+
+
diff --git a/filter/filter/movies.json b/filter/filter/movies.json
new file mode 100644
index 0000000..b5e3bfb
--- /dev/null
+++ b/filter/filter/movies.json
@@ -0,0 +1,38 @@
+[
+ {
+ "name": "hgfjhf",
+ "description": "hooi",
+ "duration": 10,
+ "genre": null
+ },
+ {
+ "name": "lord of the rings",
+ "description": "hooi",
+ "duration": 10,
+ "genre": null
+ },
+ {
+ "name": "star wars",
+ "description": "hooi",
+ "duration": 10,
+ "genre": null
+ },
+ {
+ "name": "test5",
+ "description": "dit is een test",
+ "duration": 10,
+ "genre": null
+ },
+ {
+ "name": "test69",
+ "description": "dit is test 69",
+ "duration": 69,
+ "genre": null
+ },
+ {
+ "name": "lord of the rings",
+ "description": "it's about a friendship between a dwarf and a elf and something about a ring",
+ "duration": 360,
+ "genre": "fantasy"
+ }
+]
\ No newline at end of file
diff --git a/filter/filter/obj/Debug/netcoreapp3.1/filter.AssemblyInfo.cs b/filter/filter/obj/Debug/netcoreapp3.1/filter.AssemblyInfo.cs
new file mode 100644
index 0000000..60361de
--- /dev/null
+++ b/filter/filter/obj/Debug/netcoreapp3.1/filter.AssemblyInfo.cs
@@ -0,0 +1,23 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Reflection;
+
+[assembly: System.Reflection.AssemblyCompanyAttribute("filter")]
+[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
+[assembly: System.Reflection.AssemblyProductAttribute("filter")]
+[assembly: System.Reflection.AssemblyTitleAttribute("filter")]
+[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
+
+// Generated by the MSBuild WriteCodeFragment class.
+
diff --git a/filter/filter/obj/Debug/netcoreapp3.1/filter.AssemblyInfoInputs.cache b/filter/filter/obj/Debug/netcoreapp3.1/filter.AssemblyInfoInputs.cache
new file mode 100644
index 0000000..95e3639
--- /dev/null
+++ b/filter/filter/obj/Debug/netcoreapp3.1/filter.AssemblyInfoInputs.cache
@@ -0,0 +1 @@
+db2eb17199e7ccd3d6fdec61988a5b64920a8d9b
diff --git a/filter/filter/obj/Debug/netcoreapp3.1/filter.assets.cache b/filter/filter/obj/Debug/netcoreapp3.1/filter.assets.cache
new file mode 100644
index 0000000..9ca48a2
Binary files /dev/null and b/filter/filter/obj/Debug/netcoreapp3.1/filter.assets.cache differ
diff --git a/filter/filter/obj/Debug/netcoreapp3.1/filter.csproj.CopyComplete b/filter/filter/obj/Debug/netcoreapp3.1/filter.csproj.CopyComplete
new file mode 100644
index 0000000..e69de29
diff --git a/filter/filter/obj/Debug/netcoreapp3.1/filter.csproj.CoreCompileInputs.cache b/filter/filter/obj/Debug/netcoreapp3.1/filter.csproj.CoreCompileInputs.cache
new file mode 100644
index 0000000..57ddb80
--- /dev/null
+++ b/filter/filter/obj/Debug/netcoreapp3.1/filter.csproj.CoreCompileInputs.cache
@@ -0,0 +1 @@
+2cba204d5a9202d2a0c91e2619fd7402a87f1927
diff --git a/filter/filter/obj/Debug/netcoreapp3.1/filter.csproj.FileListAbsolute.txt b/filter/filter/obj/Debug/netcoreapp3.1/filter.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..85f0388
--- /dev/null
+++ b/filter/filter/obj/Debug/netcoreapp3.1/filter.csproj.FileListAbsolute.txt
@@ -0,0 +1,28 @@
+C:\Users\basvo\source\repos\filter\filter\bin\Debug\netcoreapp3.1\filter.exe
+C:\Users\basvo\source\repos\filter\filter\bin\Debug\netcoreapp3.1\filter.deps.json
+C:\Users\basvo\source\repos\filter\filter\bin\Debug\netcoreapp3.1\filter.runtimeconfig.json
+C:\Users\basvo\source\repos\filter\filter\bin\Debug\netcoreapp3.1\filter.runtimeconfig.dev.json
+C:\Users\basvo\source\repos\filter\filter\bin\Debug\netcoreapp3.1\filter.dll
+C:\Users\basvo\source\repos\filter\filter\bin\Debug\netcoreapp3.1\filter.pdb
+C:\Users\basvo\source\repos\filter\filter\obj\Debug\netcoreapp3.1\filter.csprojAssemblyReference.cache
+C:\Users\basvo\source\repos\filter\filter\obj\Debug\netcoreapp3.1\filter.AssemblyInfoInputs.cache
+C:\Users\basvo\source\repos\filter\filter\obj\Debug\netcoreapp3.1\filter.AssemblyInfo.cs
+C:\Users\basvo\source\repos\filter\filter\obj\Debug\netcoreapp3.1\filter.dll
+C:\Users\basvo\source\repos\filter\filter\obj\Debug\netcoreapp3.1\filter.pdb
+C:\Users\basvo\source\repos\filter\filter\bin\Debug\netcoreapp3.1\Newtonsoft.Json.dll
+C:\Users\basvo\source\repos\filter\filter\obj\Debug\netcoreapp3.1\filter.csproj.CopyComplete
+C:\Users\basvo\Documents\GitHub\Cinema-App\filter\filter\bin\Debug\netcoreapp3.1\filter.exe
+C:\Users\basvo\Documents\GitHub\Cinema-App\filter\filter\bin\Debug\netcoreapp3.1\filter.deps.json
+C:\Users\basvo\Documents\GitHub\Cinema-App\filter\filter\bin\Debug\netcoreapp3.1\filter.runtimeconfig.json
+C:\Users\basvo\Documents\GitHub\Cinema-App\filter\filter\bin\Debug\netcoreapp3.1\filter.runtimeconfig.dev.json
+C:\Users\basvo\Documents\GitHub\Cinema-App\filter\filter\bin\Debug\netcoreapp3.1\filter.dll
+C:\Users\basvo\Documents\GitHub\Cinema-App\filter\filter\bin\Debug\netcoreapp3.1\filter.pdb
+C:\Users\basvo\Documents\GitHub\Cinema-App\filter\filter\bin\Debug\netcoreapp3.1\Newtonsoft.Json.dll
+C:\Users\basvo\Documents\GitHub\Cinema-App\filter\filter\obj\Debug\netcoreapp3.1\filter.csprojAssemblyReference.cache
+C:\Users\basvo\Documents\GitHub\Cinema-App\filter\filter\obj\Debug\netcoreapp3.1\filter.csproj.CoreCompileInputs.cache
+C:\Users\basvo\Documents\GitHub\Cinema-App\filter\filter\obj\Debug\netcoreapp3.1\filter.AssemblyInfoInputs.cache
+C:\Users\basvo\Documents\GitHub\Cinema-App\filter\filter\obj\Debug\netcoreapp3.1\filter.AssemblyInfo.cs
+C:\Users\basvo\Documents\GitHub\Cinema-App\filter\filter\obj\Debug\netcoreapp3.1\filter.csproj.CopyComplete
+C:\Users\basvo\Documents\GitHub\Cinema-App\filter\filter\obj\Debug\netcoreapp3.1\filter.dll
+C:\Users\basvo\Documents\GitHub\Cinema-App\filter\filter\obj\Debug\netcoreapp3.1\filter.pdb
+C:\Users\basvo\Documents\GitHub\Cinema-App\filter\filter\obj\Debug\netcoreapp3.1\filter.genruntimeconfig.cache
diff --git a/filter/filter/obj/Debug/netcoreapp3.1/filter.csprojAssemblyReference.cache b/filter/filter/obj/Debug/netcoreapp3.1/filter.csprojAssemblyReference.cache
new file mode 100644
index 0000000..bafb1a0
Binary files /dev/null and b/filter/filter/obj/Debug/netcoreapp3.1/filter.csprojAssemblyReference.cache differ
diff --git a/filter/filter/obj/Debug/netcoreapp3.1/filter.dll b/filter/filter/obj/Debug/netcoreapp3.1/filter.dll
new file mode 100644
index 0000000..10c17a4
Binary files /dev/null and b/filter/filter/obj/Debug/netcoreapp3.1/filter.dll differ
diff --git a/filter/filter/obj/Debug/netcoreapp3.1/filter.exe b/filter/filter/obj/Debug/netcoreapp3.1/filter.exe
new file mode 100644
index 0000000..10c2726
Binary files /dev/null and b/filter/filter/obj/Debug/netcoreapp3.1/filter.exe differ
diff --git a/filter/filter/obj/Debug/netcoreapp3.1/filter.genruntimeconfig.cache b/filter/filter/obj/Debug/netcoreapp3.1/filter.genruntimeconfig.cache
new file mode 100644
index 0000000..34bedab
--- /dev/null
+++ b/filter/filter/obj/Debug/netcoreapp3.1/filter.genruntimeconfig.cache
@@ -0,0 +1 @@
+86c8e15dd33445635927cfaf398408205fd11473
diff --git a/filter/filter/obj/Debug/netcoreapp3.1/filter.pdb b/filter/filter/obj/Debug/netcoreapp3.1/filter.pdb
new file mode 100644
index 0000000..47962fc
Binary files /dev/null and b/filter/filter/obj/Debug/netcoreapp3.1/filter.pdb differ
diff --git a/filter/filter/obj/filter.csproj.nuget.cache b/filter/filter/obj/filter.csproj.nuget.cache
new file mode 100644
index 0000000..a80e98b
--- /dev/null
+++ b/filter/filter/obj/filter.csproj.nuget.cache
@@ -0,0 +1,5 @@
+{
+ "version": 1,
+ "dgSpecHash": "8Le/3lIksH2LJwPac9JzWoE/F8671IXS81ofdletm+ieskbhh1eLV5OIF5QQsn5RkUHmy4InwmWK5Aq9VXZgJQ==",
+ "success": true
+}
\ No newline at end of file
diff --git a/filter/filter/obj/filter.csproj.nuget.dgspec.json b/filter/filter/obj/filter.csproj.nuget.dgspec.json
new file mode 100644
index 0000000..e7ca936
--- /dev/null
+++ b/filter/filter/obj/filter.csproj.nuget.dgspec.json
@@ -0,0 +1,66 @@
+{
+ "format": 1,
+ "restore": {
+ "C:\\Users\\basvo\\Documents\\GitHub\\Cinema-App\\filter\\filter\\filter.csproj": {}
+ },
+ "projects": {
+ "C:\\Users\\basvo\\Documents\\GitHub\\Cinema-App\\filter\\filter\\filter.csproj": {
+ "version": "1.0.0",
+ "restore": {
+ "projectUniqueName": "C:\\Users\\basvo\\Documents\\GitHub\\Cinema-App\\filter\\filter\\filter.csproj",
+ "projectName": "filter",
+ "projectPath": "C:\\Users\\basvo\\Documents\\GitHub\\Cinema-App\\filter\\filter\\filter.csproj",
+ "packagesPath": "C:\\Users\\basvo\\.nuget\\packages\\",
+ "outputPath": "C:\\Users\\basvo\\Documents\\GitHub\\Cinema-App\\filter\\filter\\obj\\",
+ "projectStyle": "PackageReference",
+ "configFilePaths": [
+ "C:\\Users\\basvo\\AppData\\Roaming\\NuGet\\NuGet.Config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+ ],
+ "originalTargetFrameworks": [
+ "netcoreapp3.1"
+ ],
+ "sources": {
+ "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+ "https://api.nuget.org/v3/index.json": {}
+ },
+ "frameworks": {
+ "netcoreapp3.1": {
+ "projectReferences": {}
+ }
+ },
+ "warningProperties": {
+ "warnAsError": [
+ "NU1605"
+ ]
+ }
+ },
+ "frameworks": {
+ "netcoreapp3.1": {
+ "dependencies": {
+ "Newtonsoft.Json": {
+ "target": "Package",
+ "version": "[12.0.3, )"
+ }
+ },
+ "imports": [
+ "net461",
+ "net462",
+ "net47",
+ "net471",
+ "net472",
+ "net48"
+ ],
+ "assetTargetFallback": true,
+ "warn": true,
+ "frameworkReferences": {
+ "Microsoft.NETCore.App": {
+ "privateAssets": "all"
+ }
+ },
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.201\\RuntimeIdentifierGraph.json"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/filter/filter/obj/filter.csproj.nuget.g.props b/filter/filter/obj/filter.csproj.nuget.g.props
new file mode 100644
index 0000000..4c5e855
--- /dev/null
+++ b/filter/filter/obj/filter.csproj.nuget.g.props
@@ -0,0 +1,15 @@
+
+
+
+ True
+ NuGet
+ $(MSBuildThisFileDirectory)project.assets.json
+ $(UserProfile)\.nuget\packages\
+ C:\Users\basvo\.nuget\packages\
+ PackageReference
+ 5.5.0
+
+
+ $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
+
+
\ No newline at end of file
diff --git a/filter/filter/obj/filter.csproj.nuget.g.targets b/filter/filter/obj/filter.csproj.nuget.g.targets
new file mode 100644
index 0000000..53cfaa1
--- /dev/null
+++ b/filter/filter/obj/filter.csproj.nuget.g.targets
@@ -0,0 +1,6 @@
+
+
+
+ $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
+
+
\ No newline at end of file
diff --git a/filter/filter/obj/project.assets.json b/filter/filter/obj/project.assets.json
new file mode 100644
index 0000000..e482108
--- /dev/null
+++ b/filter/filter/obj/project.assets.json
@@ -0,0 +1,115 @@
+{
+ "version": 3,
+ "targets": {
+ ".NETCoreApp,Version=v3.1": {
+ "Newtonsoft.Json/12.0.3": {
+ "type": "package",
+ "compile": {
+ "lib/netstandard2.0/Newtonsoft.Json.dll": {}
+ },
+ "runtime": {
+ "lib/netstandard2.0/Newtonsoft.Json.dll": {}
+ }
+ }
+ }
+ },
+ "libraries": {
+ "Newtonsoft.Json/12.0.3": {
+ "sha512": "6mgjfnRB4jKMlzHSl+VD+oUc1IebOZabkbyWj2RiTgWwYPPuaK1H97G1sHqGwPlS5npiF5Q0OrxN1wni2n5QWg==",
+ "type": "package",
+ "path": "newtonsoft.json/12.0.3",
+ "files": [
+ ".nupkg.metadata",
+ ".signature.p7s",
+ "LICENSE.md",
+ "lib/net20/Newtonsoft.Json.dll",
+ "lib/net20/Newtonsoft.Json.xml",
+ "lib/net35/Newtonsoft.Json.dll",
+ "lib/net35/Newtonsoft.Json.xml",
+ "lib/net40/Newtonsoft.Json.dll",
+ "lib/net40/Newtonsoft.Json.xml",
+ "lib/net45/Newtonsoft.Json.dll",
+ "lib/net45/Newtonsoft.Json.xml",
+ "lib/netstandard1.0/Newtonsoft.Json.dll",
+ "lib/netstandard1.0/Newtonsoft.Json.xml",
+ "lib/netstandard1.3/Newtonsoft.Json.dll",
+ "lib/netstandard1.3/Newtonsoft.Json.xml",
+ "lib/netstandard2.0/Newtonsoft.Json.dll",
+ "lib/netstandard2.0/Newtonsoft.Json.xml",
+ "lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll",
+ "lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.xml",
+ "lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll",
+ "lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.xml",
+ "newtonsoft.json.12.0.3.nupkg.sha512",
+ "newtonsoft.json.nuspec",
+ "packageIcon.png"
+ ]
+ }
+ },
+ "projectFileDependencyGroups": {
+ ".NETCoreApp,Version=v3.1": [
+ "Newtonsoft.Json >= 12.0.3"
+ ]
+ },
+ "packageFolders": {
+ "C:\\Users\\basvo\\.nuget\\packages\\": {}
+ },
+ "project": {
+ "version": "1.0.0",
+ "restore": {
+ "projectUniqueName": "C:\\Users\\basvo\\Documents\\GitHub\\Cinema-App\\filter\\filter\\filter.csproj",
+ "projectName": "filter",
+ "projectPath": "C:\\Users\\basvo\\Documents\\GitHub\\Cinema-App\\filter\\filter\\filter.csproj",
+ "packagesPath": "C:\\Users\\basvo\\.nuget\\packages\\",
+ "outputPath": "C:\\Users\\basvo\\Documents\\GitHub\\Cinema-App\\filter\\filter\\obj\\",
+ "projectStyle": "PackageReference",
+ "configFilePaths": [
+ "C:\\Users\\basvo\\AppData\\Roaming\\NuGet\\NuGet.Config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+ ],
+ "originalTargetFrameworks": [
+ "netcoreapp3.1"
+ ],
+ "sources": {
+ "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+ "https://api.nuget.org/v3/index.json": {}
+ },
+ "frameworks": {
+ "netcoreapp3.1": {
+ "projectReferences": {}
+ }
+ },
+ "warningProperties": {
+ "warnAsError": [
+ "NU1605"
+ ]
+ }
+ },
+ "frameworks": {
+ "netcoreapp3.1": {
+ "dependencies": {
+ "Newtonsoft.Json": {
+ "target": "Package",
+ "version": "[12.0.3, )"
+ }
+ },
+ "imports": [
+ "net461",
+ "net462",
+ "net47",
+ "net471",
+ "net472",
+ "net48"
+ ],
+ "assetTargetFallback": true,
+ "warn": true,
+ "frameworkReferences": {
+ "Microsoft.NETCore.App": {
+ "privateAssets": "all"
+ }
+ },
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.201\\RuntimeIdentifierGraph.json"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/filter/filter/obj/project.nuget.cache b/filter/filter/obj/project.nuget.cache
new file mode 100644
index 0000000..a9ddf22
--- /dev/null
+++ b/filter/filter/obj/project.nuget.cache
@@ -0,0 +1,10 @@
+{
+ "version": 2,
+ "dgSpecHash": "RDqnusa3adIw/k21ujAc0d42K3LX1hqRQSrJPn3bpvGv+AhF2Nz0xSH/82LY+ZYPqZ8M3G2xgbYCPGroR1AtTw==",
+ "success": true,
+ "projectFilePath": "C:\\Users\\basvo\\Documents\\GitHub\\Cinema-App\\filter\\filter\\filter.csproj",
+ "expectedPackageFiles": [
+ "C:\\Users\\basvo\\.nuget\\packages\\newtonsoft.json\\12.0.3\\newtonsoft.json.12.0.3.nupkg.sha512"
+ ],
+ "logs": []
+}
\ No newline at end of file
diff --git a/g.txt b/g.txt
new file mode 100644
index 0000000..e69de29
diff --git a/test.cs b/test.cs
new file mode 100644
index 0000000..3fdc188
--- /dev/null
+++ b/test.cs
@@ -0,0 +1,9 @@
+using System;
+
+public class Class1
+{
+ public Class1()
+ {
+ Console.WriteLine("test");
+ }
+}
diff --git a/test2.cs b/test2.cs
new file mode 100644
index 0000000..45b9d4b
--- /dev/null
+++ b/test2.cs
@@ -0,0 +1,9 @@
+using System;
+
+public class Class1
+{
+ public Class1()
+ {
+ Console.WriteLine("test2");
+ }
+}