diff --git a/Festival/Festival.DAL/Models/Event.cs b/Festival/Festival.DAL/Models/Event.cs index f9d0a8a..fa5ec52 100644 --- a/Festival/Festival.DAL/Models/Event.cs +++ b/Festival/Festival.DAL/Models/Event.cs @@ -3,8 +3,8 @@ public class Event { public int Id { get; set; } - public string Name { get; set; } - public DateTime Date { get; set; } + public string EventName { get; set; } + public DateTime EventDate { get; set; } public string Location { get; set; } } } \ No newline at end of file diff --git a/Festival/Festival.DAL/Models/Ticket.cs b/Festival/Festival.DAL/Models/Ticket.cs index 183ad13..a5f578b 100644 --- a/Festival/Festival.DAL/Models/Ticket.cs +++ b/Festival/Festival.DAL/Models/Ticket.cs @@ -4,22 +4,16 @@ namespace Festival.DAL.Models { public class Ticket { - // Unique identifier for the ticket public int Id { get; set; } - - // Foreign key to associate the ticket with an event + public int EventId { get; set; } - - // Price of the ticket + public decimal Price { get; set; } - // Date and time when the ticket was purchased public DateTime PurchaseDate { get; set; } - // Name of the customer who purchased the ticket public string CustomerName { get; set; } - // Navigation property to the associated event public Event Event { get; set; } } } \ No newline at end of file diff --git a/Festival/Festival.DAL/bin/Debug/net8.0/Festival.DAL.dll b/Festival/Festival.DAL/bin/Debug/net8.0/Festival.DAL.dll index 81323c5..26d7dd4 100644 Binary files a/Festival/Festival.DAL/bin/Debug/net8.0/Festival.DAL.dll and b/Festival/Festival.DAL/bin/Debug/net8.0/Festival.DAL.dll differ diff --git a/Festival/Festival.DAL/bin/Debug/net8.0/Festival.DAL.pdb b/Festival/Festival.DAL/bin/Debug/net8.0/Festival.DAL.pdb index 3c5691b..ba794c1 100644 Binary files a/Festival/Festival.DAL/bin/Debug/net8.0/Festival.DAL.pdb and b/Festival/Festival.DAL/bin/Debug/net8.0/Festival.DAL.pdb differ diff --git a/Festival/Festival.DAL/obj/Debug/net8.0/Festival.DAL.dll b/Festival/Festival.DAL/obj/Debug/net8.0/Festival.DAL.dll index 81323c5..26d7dd4 100644 Binary files a/Festival/Festival.DAL/obj/Debug/net8.0/Festival.DAL.dll and b/Festival/Festival.DAL/obj/Debug/net8.0/Festival.DAL.dll differ diff --git a/Festival/Festival.DAL/obj/Debug/net8.0/Festival.DAL.pdb b/Festival/Festival.DAL/obj/Debug/net8.0/Festival.DAL.pdb index 3c5691b..ba794c1 100644 Binary files a/Festival/Festival.DAL/obj/Debug/net8.0/Festival.DAL.pdb and b/Festival/Festival.DAL/obj/Debug/net8.0/Festival.DAL.pdb differ diff --git a/Festival/Festival.DAL/obj/Debug/net8.0/ref/Festival.DAL.dll b/Festival/Festival.DAL/obj/Debug/net8.0/ref/Festival.DAL.dll index b1f3c4c..24a5d77 100644 Binary files a/Festival/Festival.DAL/obj/Debug/net8.0/ref/Festival.DAL.dll and b/Festival/Festival.DAL/obj/Debug/net8.0/ref/Festival.DAL.dll differ diff --git a/Festival/Festival.DAL/obj/Debug/net8.0/refint/Festival.DAL.dll b/Festival/Festival.DAL/obj/Debug/net8.0/refint/Festival.DAL.dll index b1f3c4c..24a5d77 100644 Binary files a/Festival/Festival.DAL/obj/Debug/net8.0/refint/Festival.DAL.dll and b/Festival/Festival.DAL/obj/Debug/net8.0/refint/Festival.DAL.dll differ diff --git a/Festival/Festival.PL/Pages/Home.razor b/Festival/Festival.PL/Pages/Home.razor index 9001e0b..663f2ff 100644 --- a/Festival/Festival.PL/Pages/Home.razor +++ b/Festival/Festival.PL/Pages/Home.razor @@ -1,7 +1,45 @@ @page "/" +@using Festival.DAL.Models; +@using System.ComponentModel.DataAnnotations; -Home +

Home

-

Hello, world!

+

Welcome to the Festival App!

-Welcome to your new app. +

Artists

+ + + +

Events

+ + + +

Tickets

+ + + +@code { + private List Artists { get; set; } = new List(); + private List Events { get; set; } = new List(); + private List Tickets { get; set; } = new List(); + + protected override async Task OnInitializedAsync() + { + + } +} \ No newline at end of file diff --git a/Festival/Festival.PL/bin/Debug/net8.0/Festival.DAL.dll b/Festival/Festival.PL/bin/Debug/net8.0/Festival.DAL.dll index 81323c5..26d7dd4 100644 Binary files a/Festival/Festival.PL/bin/Debug/net8.0/Festival.DAL.dll and b/Festival/Festival.PL/bin/Debug/net8.0/Festival.DAL.dll differ diff --git a/Festival/Festival.PL/bin/Debug/net8.0/Festival.DAL.pdb b/Festival/Festival.PL/bin/Debug/net8.0/Festival.DAL.pdb index 3c5691b..ba794c1 100644 Binary files a/Festival/Festival.PL/bin/Debug/net8.0/Festival.DAL.pdb and b/Festival/Festival.PL/bin/Debug/net8.0/Festival.DAL.pdb differ diff --git a/Festival/Festival.PL/bin/Debug/net8.0/Festival.PL.dll b/Festival/Festival.PL/bin/Debug/net8.0/Festival.PL.dll index 4f02c3a..f2bf078 100644 Binary files a/Festival/Festival.PL/bin/Debug/net8.0/Festival.PL.dll and b/Festival/Festival.PL/bin/Debug/net8.0/Festival.PL.dll differ diff --git a/Festival/Festival.PL/bin/Debug/net8.0/Festival.PL.pdb b/Festival/Festival.PL/bin/Debug/net8.0/Festival.PL.pdb index cb5fe4f..1bf9b32 100644 Binary files a/Festival/Festival.PL/bin/Debug/net8.0/Festival.PL.pdb and b/Festival/Festival.PL/bin/Debug/net8.0/Festival.PL.pdb differ diff --git a/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.DAL.pdb b/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.DAL.pdb index 3c5691b..ba794c1 100644 Binary files a/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.DAL.pdb and b/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.DAL.pdb differ diff --git a/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.DAL.pdb.gz b/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.DAL.pdb.gz index 03b399b..3a69714 100644 Binary files a/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.DAL.pdb.gz and b/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.DAL.pdb.gz differ diff --git a/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.DAL.wasm b/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.DAL.wasm index e7ef35b..eb5a535 100644 Binary files a/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.DAL.wasm and b/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.DAL.wasm differ diff --git a/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.DAL.wasm.gz b/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.DAL.wasm.gz index ea4125a..567ef09 100644 Binary files a/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.DAL.wasm.gz and b/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.DAL.wasm.gz differ diff --git a/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.PL.pdb b/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.PL.pdb index cb5fe4f..1bf9b32 100644 Binary files a/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.PL.pdb and b/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.PL.pdb differ diff --git a/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.PL.pdb.gz b/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.PL.pdb.gz index f676dfd..1c19f15 100644 Binary files a/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.PL.pdb.gz and b/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.PL.pdb.gz differ diff --git a/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.PL.wasm b/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.PL.wasm index 8c73532..47b8327 100644 Binary files a/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.PL.wasm and b/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.PL.wasm differ diff --git a/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.PL.wasm.gz b/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.PL.wasm.gz index b5efe18..feaeb80 100644 Binary files a/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.PL.wasm.gz and b/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/Festival.PL.wasm.gz differ diff --git a/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/blazor.boot.json b/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/blazor.boot.json index 10507a2..99c38a3 100644 --- a/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/blazor.boot.json +++ b/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/blazor.boot.json @@ -1,7 +1,7 @@ { "mainAssemblyName": "Festival.PL", "resources": { - "hash": "sha256-dZ7vsjsHXxSci/mwNiKfMhrrDx0eF+YTnmhPZACgNmQ=", + "hash": "sha256-c1KKl6bNXsFCLu9zghRpGfX5OtRs8duO7+XBttU9jNc=", "jsModuleNative": { "dotnet.native.8.0.8.qyo02f0lmf.js": "sha256-juC5sA7gHTLXFEhAKgdM2/RavswpwCtDfjYGsAz2FXg=" }, @@ -237,12 +237,12 @@ "mscorlib.wasm": "sha256-Gz8PyW2/fwihe5ul81OwmRUrU71r+KtbyRw6xlOGD+Q=", "netstandard.wasm": "sha256-jMTqIQzoDS810lyhZpMO5eEC36EzntXqSVn+2qwkOMQ=", "System.Private.CoreLib.wasm": "sha256-NFj5WE5VLP2LptZIRJCUIc1AMk06FmxpsSILfPISwAw=", - "Festival.DAL.wasm": "sha256-69uPAws3VR2gbhsBwOPQIHwBTytp3ueDaKmuVJFc8jY=", - "Festival.PL.wasm": "sha256-o8Fg+cKJXCdOP+EVDn0nSpz9Uhe/6mtNdetiR4QfJ8E=" + "Festival.DAL.wasm": "sha256-pIpYz/EPWX3H0TiWhLLLAI7vNKNOYG/eNw4xIhzrb0Y=", + "Festival.PL.wasm": "sha256-6PDG2fW67+O27K/veoAptfYgxsjhdAq9smcGDE88qzE=" }, "pdb": { - "Festival.DAL.pdb": "sha256-dtbV0oey90NCyTvy0DAdoDL1RAXP4dl4m1+Bhsvolpg=", - "Festival.PL.pdb": "sha256-ZtMtW5wR6sYcxyCyyLz6GsH71T2UN/8es+I02Xy0Yrk=" + "Festival.DAL.pdb": "sha256-rhJ7TOZYd2PrLR1LLDpSDOr+A/CQ3clgoX/paFVDt28=", + "Festival.PL.pdb": "sha256-Iizve3D0Yo05CgOPx2ZMC/PKwxFeJpMjiohOheAZfks=" } }, "cacheBootResources": true, diff --git a/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/blazor.boot.json.gz b/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/blazor.boot.json.gz index 53b476c..c33c941 100644 Binary files a/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/blazor.boot.json.gz and b/Festival/Festival.PL/bin/Debug/net8.0/wwwroot/_framework/blazor.boot.json.gz differ diff --git a/Festival/Festival.PL/obj/Debug/net8.0/Festival.PL.csproj.AssemblyReference.cache b/Festival/Festival.PL/obj/Debug/net8.0/Festival.PL.csproj.AssemblyReference.cache index 03e26ae..d58977b 100644 Binary files a/Festival/Festival.PL/obj/Debug/net8.0/Festival.PL.csproj.AssemblyReference.cache and b/Festival/Festival.PL/obj/Debug/net8.0/Festival.PL.csproj.AssemblyReference.cache differ diff --git a/Festival/Festival.PL/obj/Debug/net8.0/Festival.PL.dll b/Festival/Festival.PL/obj/Debug/net8.0/Festival.PL.dll index 4f02c3a..f2bf078 100644 Binary files a/Festival/Festival.PL/obj/Debug/net8.0/Festival.PL.dll and b/Festival/Festival.PL/obj/Debug/net8.0/Festival.PL.dll differ diff --git a/Festival/Festival.PL/obj/Debug/net8.0/Festival.PL.pdb b/Festival/Festival.PL/obj/Debug/net8.0/Festival.PL.pdb index cb5fe4f..1bf9b32 100644 Binary files a/Festival/Festival.PL/obj/Debug/net8.0/Festival.PL.pdb and b/Festival/Festival.PL/obj/Debug/net8.0/Festival.PL.pdb differ diff --git a/Festival/Festival.PL/obj/Debug/net8.0/blazor.boot.json b/Festival/Festival.PL/obj/Debug/net8.0/blazor.boot.json index 10507a2..99c38a3 100644 --- a/Festival/Festival.PL/obj/Debug/net8.0/blazor.boot.json +++ b/Festival/Festival.PL/obj/Debug/net8.0/blazor.boot.json @@ -1,7 +1,7 @@ { "mainAssemblyName": "Festival.PL", "resources": { - "hash": "sha256-dZ7vsjsHXxSci/mwNiKfMhrrDx0eF+YTnmhPZACgNmQ=", + "hash": "sha256-c1KKl6bNXsFCLu9zghRpGfX5OtRs8duO7+XBttU9jNc=", "jsModuleNative": { "dotnet.native.8.0.8.qyo02f0lmf.js": "sha256-juC5sA7gHTLXFEhAKgdM2/RavswpwCtDfjYGsAz2FXg=" }, @@ -237,12 +237,12 @@ "mscorlib.wasm": "sha256-Gz8PyW2/fwihe5ul81OwmRUrU71r+KtbyRw6xlOGD+Q=", "netstandard.wasm": "sha256-jMTqIQzoDS810lyhZpMO5eEC36EzntXqSVn+2qwkOMQ=", "System.Private.CoreLib.wasm": "sha256-NFj5WE5VLP2LptZIRJCUIc1AMk06FmxpsSILfPISwAw=", - "Festival.DAL.wasm": "sha256-69uPAws3VR2gbhsBwOPQIHwBTytp3ueDaKmuVJFc8jY=", - "Festival.PL.wasm": "sha256-o8Fg+cKJXCdOP+EVDn0nSpz9Uhe/6mtNdetiR4QfJ8E=" + "Festival.DAL.wasm": "sha256-pIpYz/EPWX3H0TiWhLLLAI7vNKNOYG/eNw4xIhzrb0Y=", + "Festival.PL.wasm": "sha256-6PDG2fW67+O27K/veoAptfYgxsjhdAq9smcGDE88qzE=" }, "pdb": { - "Festival.DAL.pdb": "sha256-dtbV0oey90NCyTvy0DAdoDL1RAXP4dl4m1+Bhsvolpg=", - "Festival.PL.pdb": "sha256-ZtMtW5wR6sYcxyCyyLz6GsH71T2UN/8es+I02Xy0Yrk=" + "Festival.DAL.pdb": "sha256-rhJ7TOZYd2PrLR1LLDpSDOr+A/CQ3clgoX/paFVDt28=", + "Festival.PL.pdb": "sha256-Iizve3D0Yo05CgOPx2ZMC/PKwxFeJpMjiohOheAZfks=" } }, "cacheBootResources": true, diff --git a/Festival/Festival.PL/obj/Debug/net8.0/compressed/a9jd1qftwr.gz b/Festival/Festival.PL/obj/Debug/net8.0/compressed/a9jd1qftwr.gz index ea4125a..567ef09 100644 Binary files a/Festival/Festival.PL/obj/Debug/net8.0/compressed/a9jd1qftwr.gz and b/Festival/Festival.PL/obj/Debug/net8.0/compressed/a9jd1qftwr.gz differ diff --git a/Festival/Festival.PL/obj/Debug/net8.0/compressed/fveyapdap7.gz b/Festival/Festival.PL/obj/Debug/net8.0/compressed/fveyapdap7.gz index 53b476c..c33c941 100644 Binary files a/Festival/Festival.PL/obj/Debug/net8.0/compressed/fveyapdap7.gz and b/Festival/Festival.PL/obj/Debug/net8.0/compressed/fveyapdap7.gz differ diff --git a/Festival/Festival.PL/obj/Debug/net8.0/compressed/g5kifqoip1.gz b/Festival/Festival.PL/obj/Debug/net8.0/compressed/g5kifqoip1.gz index f676dfd..1c19f15 100644 Binary files a/Festival/Festival.PL/obj/Debug/net8.0/compressed/g5kifqoip1.gz and b/Festival/Festival.PL/obj/Debug/net8.0/compressed/g5kifqoip1.gz differ diff --git a/Festival/Festival.PL/obj/Debug/net8.0/compressed/mkhyi5sui5.gz b/Festival/Festival.PL/obj/Debug/net8.0/compressed/mkhyi5sui5.gz index 03b399b..3a69714 100644 Binary files a/Festival/Festival.PL/obj/Debug/net8.0/compressed/mkhyi5sui5.gz and b/Festival/Festival.PL/obj/Debug/net8.0/compressed/mkhyi5sui5.gz differ diff --git a/Festival/Festival.PL/obj/Debug/net8.0/compressed/z55ykdkz41.gz b/Festival/Festival.PL/obj/Debug/net8.0/compressed/z55ykdkz41.gz index b5efe18..feaeb80 100644 Binary files a/Festival/Festival.PL/obj/Debug/net8.0/compressed/z55ykdkz41.gz and b/Festival/Festival.PL/obj/Debug/net8.0/compressed/z55ykdkz41.gz differ diff --git a/Festival/Festival.PL/obj/Debug/net8.0/ref/Festival.PL.dll b/Festival/Festival.PL/obj/Debug/net8.0/ref/Festival.PL.dll index 22c1103..cda2a02 100644 Binary files a/Festival/Festival.PL/obj/Debug/net8.0/ref/Festival.PL.dll and b/Festival/Festival.PL/obj/Debug/net8.0/ref/Festival.PL.dll differ diff --git a/Festival/Festival.PL/obj/Debug/net8.0/refint/Festival.PL.dll b/Festival/Festival.PL/obj/Debug/net8.0/refint/Festival.PL.dll index 22c1103..cda2a02 100644 Binary files a/Festival/Festival.PL/obj/Debug/net8.0/refint/Festival.PL.dll and b/Festival/Festival.PL/obj/Debug/net8.0/refint/Festival.PL.dll differ diff --git a/Festival/Festival.PL/obj/Debug/net8.0/tmp-webcil/Festival.DAL.wasm b/Festival/Festival.PL/obj/Debug/net8.0/tmp-webcil/Festival.DAL.wasm index e7ef35b..eb5a535 100644 Binary files a/Festival/Festival.PL/obj/Debug/net8.0/tmp-webcil/Festival.DAL.wasm and b/Festival/Festival.PL/obj/Debug/net8.0/tmp-webcil/Festival.DAL.wasm differ diff --git a/Festival/Festival.PL/obj/Debug/net8.0/tmp-webcil/Festival.PL.wasm b/Festival/Festival.PL/obj/Debug/net8.0/tmp-webcil/Festival.PL.wasm index 8c73532..47b8327 100644 Binary files a/Festival/Festival.PL/obj/Debug/net8.0/tmp-webcil/Festival.PL.wasm and b/Festival/Festival.PL/obj/Debug/net8.0/tmp-webcil/Festival.PL.wasm differ diff --git a/Festival/Festival.PL/obj/Debug/net8.0/webcil/Festival.DAL.wasm b/Festival/Festival.PL/obj/Debug/net8.0/webcil/Festival.DAL.wasm index e7ef35b..eb5a535 100644 Binary files a/Festival/Festival.PL/obj/Debug/net8.0/webcil/Festival.DAL.wasm and b/Festival/Festival.PL/obj/Debug/net8.0/webcil/Festival.DAL.wasm differ diff --git a/Festival/Festival.PL/obj/Debug/net8.0/webcil/Festival.PL.wasm b/Festival/Festival.PL/obj/Debug/net8.0/webcil/Festival.PL.wasm index 8c73532..47b8327 100644 Binary files a/Festival/Festival.PL/obj/Debug/net8.0/webcil/Festival.PL.wasm and b/Festival/Festival.PL/obj/Debug/net8.0/webcil/Festival.PL.wasm differ