From be34e09b681ac46d068563dc1a38b4c221804872 Mon Sep 17 00:00:00 2001 From: Eddie Date: Tue, 19 Nov 2024 17:02:58 +0330 Subject: [PATCH] Adding global usings --- EWallet.Api/Common/Models/Wallet.cs | 6 ++---- EWallet.Api/UsingGlobals.cs | 3 ++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/EWallet.Api/Common/Models/Wallet.cs b/EWallet.Api/Common/Models/Wallet.cs index 8b33c53..b13549c 100644 --- a/EWallet.Api/Common/Models/Wallet.cs +++ b/EWallet.Api/Common/Models/Wallet.cs @@ -1,12 +1,10 @@ -using EWallet.Api.Common.Exceptions; + namespace EWallet.Api.Common.Models; public class Wallet { - private Wallet() - { - } + private Wallet() { } private const decimal InitialBalance = 1.0m; public Guid Id { get; private set; } diff --git a/EWallet.Api/UsingGlobals.cs b/EWallet.Api/UsingGlobals.cs index b90a245..da6b146 100644 --- a/EWallet.Api/UsingGlobals.cs +++ b/EWallet.Api/UsingGlobals.cs @@ -4,4 +4,5 @@ global using System.Text; global using EWallet.Api.Common; global using Microsoft.AspNetCore.Authentication.JwtBearer; -global using Microsoft.IdentityModel.Tokens; \ No newline at end of file +global using Microsoft.IdentityModel.Tokens; +global using EWallet.Api.Common.Exceptions; \ No newline at end of file