Skip to content

Commit

Permalink
Usings
Browse files Browse the repository at this point in the history
  • Loading branch information
TheR00st3r committed Jun 30, 2023
1 parent ab18169 commit c2e60af
Show file tree
Hide file tree
Showing 22 changed files with 11 additions and 80 deletions.
1 change: 0 additions & 1 deletion NetEvent/Client/Pages/Administration/Events/Event.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using Microsoft.Extensions.Localization;
using MudBlazor;
using NetEvent.Client.Services;
using NetEvent.Shared.Dto.Event;

Expand Down
14 changes: 0 additions & 14 deletions NetEvent/Client/Pages/Administration/Events/TicketType.razor.cs
Original file line number Diff line number Diff line change
@@ -1,21 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using System.Net.Http;
using System.Net.Http.Json;
using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.AspNetCore.Components.Forms;
using Microsoft.AspNetCore.Components.Routing;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.Web.Virtualization;
using Microsoft.AspNetCore.Components.WebAssembly.Http;
using Microsoft.JSInterop;
using MudBlazor;
using NetEvent.Client;
using NetEvent.Client.Shared;
using NetEvent.Client.Components;
using NetEvent.Shared.Dto.Event;
using NetEvent.Client.Services;
using System.Globalization;
Expand Down
10 changes: 1 addition & 9 deletions NetEvent/Client/Pages/Administration/Settings.razor.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using NetEvent.Client.Services;
using NetEvent.Shared.Config;
using NetEvent.Shared.Dto;
using NetEvent.Shared.Config;

namespace NetEvent.Client.Pages.Administration
{
Expand Down
14 changes: 0 additions & 14 deletions NetEvent/Client/Pages/Checkout/CheckoutTicket.razor.cs
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using System.Net.Http;
using System.Net.Http.Json;
using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.AspNetCore.Components.Forms;
using Microsoft.AspNetCore.Components.Routing;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.Web.Virtualization;
using Microsoft.AspNetCore.Components.WebAssembly.Http;
using Microsoft.JSInterop;
using MudBlazor;
using NetEvent.Client;
using NetEvent.Client.Shared;
using NetEvent.Client.Components;
using NetEvent.Client.Services;
using System.Threading;
using NetEvent.Shared.Dto.Event;
Expand All @@ -24,8 +12,6 @@
using NetEvent.Shared.Config;
using System.Text.Json.Serialization;
using System.Text.Json;
using System.IO;
using Newtonsoft.Json;

namespace NetEvent.Client.Pages.Checkout
{
Expand Down
1 change: 0 additions & 1 deletion NetEvent/Client/Pages/Events/Event.razor.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Threading;
using System.Threading.Tasks;
using Blazored.LocalStorage;
using Microsoft.AspNetCore.Components;
using Microsoft.Extensions.Localization;
using MudBlazor;
Expand Down
1 change: 0 additions & 1 deletion NetEvent/Client/Services/EventService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using NetEvent.Shared.Dto;
using NetEvent.Shared.Dto.Event;

namespace NetEvent.Client.Services
Expand Down
1 change: 0 additions & 1 deletion NetEvent/Client/Services/IEventService.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using NetEvent.Shared.Dto;
using NetEvent.Shared.Dto.Event;

namespace NetEvent.Client.Services
Expand Down
1 change: 0 additions & 1 deletion NetEvent/Server/Models/Event.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Hosting;

namespace NetEvent.Server.Models
{
Expand Down
2 changes: 0 additions & 2 deletions NetEvent/Server/Models/EventParticipant.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;

namespace NetEvent.Server.Models;

Expand Down
5 changes: 1 addition & 4 deletions NetEvent/Server/Models/EventTicket.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;

namespace NetEvent.Server.Models;

Expand Down
2 changes: 0 additions & 2 deletions NetEvent/Server/Models/EventTicketType.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;

namespace NetEvent.Server.Models;

Expand Down
2 changes: 0 additions & 2 deletions NetEvent/Server/Models/Payment.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;

namespace NetEvent.Server.Models;

Expand Down
3 changes: 0 additions & 3 deletions NetEvent/Server/Models/Refund.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;

namespace NetEvent.Server.Models;

Expand Down
5 changes: 1 addition & 4 deletions NetEvent/Server/Models/TicketPurchase.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;

namespace NetEvent.Server.Models;

Expand Down
5 changes: 1 addition & 4 deletions NetEvent/Server/Models/TicketPurchaseRefund.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;

namespace NetEvent.Server.Models;

Expand Down
3 changes: 1 addition & 2 deletions NetEvent/Server/Modules/Events/Endpoints/GetEvent.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Linq;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
Expand Down
3 changes: 1 addition & 2 deletions NetEvent/Server/Modules/ModuleBase.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using MediatR;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
Expand Down
3 changes: 1 addition & 2 deletions NetEvent/Shared/Dto/CartEntryDto.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Text.Json.Serialization;
using System.Text.Json.Serialization;

namespace NetEvent.Shared.Dto;

Expand Down
5 changes: 1 addition & 4 deletions NetEvent/Shared/Dto/CheckoutSessionDto.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text.Json.Serialization;
using System.Xml.Linq;
using System.Text.Json.Serialization;

namespace NetEvent.Shared.Dto;

Expand Down
3 changes: 1 addition & 2 deletions NetEvent/Shared/Dto/PaymentMethodGroupDto.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Text.Json.Serialization;
using System.Text.Json.Serialization;

namespace NetEvent.Shared.Dto;

Expand Down
3 changes: 1 addition & 2 deletions NetEvent/Shared/Dto/PaymentMethodIssuerDto.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Text.Json.Serialization;
using System.Text.Json.Serialization;

namespace NetEvent.Shared.Dto;

Expand Down
4 changes: 1 addition & 3 deletions NetEvent/Shared/Dto/PaymentResponseDto.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

using System.Text.Json.Serialization;
using System.Text.Json.Serialization;

namespace NetEvent.Shared.Dto;

Expand Down

0 comments on commit c2e60af

Please sign in to comment.