Skip to content

Commit

Permalink
Adding global usings
Browse files Browse the repository at this point in the history
  • Loading branch information
Edrisym committed Nov 19, 2024
1 parent bfd1478 commit be34e09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 2 additions & 4 deletions EWallet.Api/Common/Models/Wallet.cs
Original file line number Diff line number Diff line change
@@ -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; }
Expand Down
3 changes: 2 additions & 1 deletion EWallet.Api/UsingGlobals.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
global using System.Text;
global using EWallet.Api.Common;
global using Microsoft.AspNetCore.Authentication.JwtBearer;
global using Microsoft.IdentityModel.Tokens;
global using Microsoft.IdentityModel.Tokens;
global using EWallet.Api.Common.Exceptions;

0 comments on commit be34e09

Please sign in to comment.