diff --git a/Netina.Api/Program.cs b/Netina.Api/Program.cs index 7364788..2ce7f17 100644 --- a/Netina.Api/Program.cs +++ b/Netina.Api/Program.cs @@ -9,7 +9,7 @@ string env = builder.Environment.IsDevelopment() == true ? "Development" : "Prod builder.Host.UseContentRoot(Directory.GetCurrentDirectory()); if (builder.Environment.IsDevelopment()) { - string projectName = "Hamyan"; + string projectName = "Vesmeh"; builder.Configuration.AddJsonFile($"AppSettings/appsettings.json").AddJsonFile($"AppSettings/appsettings.{env}{projectName}.json"); } @@ -41,7 +41,7 @@ builder.Services.AddMarten(configuration,builder.Environment); builder.Services.AddCarter(); -Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("MjM3OEAzMTM5MmUzMTJlMzBVeS82aFZBTTBzSG56NU1iekJscW9VN0s1UGJMcHBMRlFYMGduOUgxaUFvPQ=="); +Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("NjU5MUAzMTM5MmUzMTJlMzBmYlFPZXRJVThMS20zaFlBdjdKMnlKeGJRQng4b0lURDZ1Rk40akFHbnVrPQ=="); builder.Host.ConfigureContainer(builder => diff --git a/Netina.Core/Netina.Core.csproj b/Netina.Core/Netina.Core.csproj index 015f381..7ebd771 100644 --- a/Netina.Core/Netina.Core.csproj +++ b/Netina.Core/Netina.Core.csproj @@ -14,7 +14,7 @@ - + diff --git a/Netina.Repository/Handlers/Accounting/GetPaymentsQueryHandler.cs b/Netina.Repository/Handlers/Accounting/GetPaymentsQueryHandler.cs index c1be426..9ccd533 100644 --- a/Netina.Repository/Handlers/Accounting/GetPaymentsQueryHandler.cs +++ b/Netina.Repository/Handlers/Accounting/GetPaymentsQueryHandler.cs @@ -15,6 +15,7 @@ public class GetPaymentsQueryHandler : IRequestHandler() .TableNoTracking + .OrderByDescending(o=>o.CreatedAt) .Skip(20 * request.Page) .Take(20) .Select(PaymentMapper.ProjectToSDto)