Revert "feat: introduce Shared.Contracts for account management and refactor related services"

This reverts commit 9469a5f76e.
This commit is contained in:
2025-12-13 15:49:31 +03:30
parent c9882f0b59
commit 91259046f6
50 changed files with 1622 additions and 520 deletions

View File

@@ -6,14 +6,21 @@ using GozareshgirProgramManager.Application._Common.Interfaces;
using GozareshgirProgramManager.Domain._Common;
using GozareshgirProgramManager.Domain.CustomerAgg.Repositories;
using GozareshgirProgramManager.Domain.ProjectAgg.Repositories;
using GozareshgirProgramManager.Domain.RoleAgg.Repositories;
using GozareshgirProgramManager.Domain.SalaryPaymentSettingAgg.Repositories;
using GozareshgirProgramManager.Domain.SkillAgg.Repositories;
using GozareshgirProgramManager.Domain.UserAgg.Repositories;
using GozareshgirProgramManager.Infrastructure.Persistence;
using GozareshgirProgramManager.Infrastructure.Persistence.Context;
using GozareshgirProgramManager.Infrastructure.Persistence.Repositories;
using GozareshgirProgramManager.Infrastructure.Services.Authentication;
using MediatR;
using FluentValidation;
using GozareshgirProgramManager.Domain.CheckoutAgg.Repositories;
using GozareshgirProgramManager.Domain.RoleAgg.Repositories;
using GozareshgirProgramManager.Domain.SalaryPaymentSettingAgg.Repositories;
using GozareshgirProgramManager.Domain.SkillAgg.Repositories;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
@@ -48,7 +55,12 @@ public static class DependencyInjection
// Unit of Work
services.AddScoped<IUnitOfWork, UnitOfWork>();
//Users
services.AddScoped<IUserRepository, UserRepository>();
//Roles
services.AddScoped<IRoleRepository, RoleRepository>();
//WorkingHours
services.AddScoped<ISalaryPaymentSettingRepository, SalaryPaymentSettingRepository>();
@@ -71,6 +83,8 @@ public static class DependencyInjection
services.AddScoped<IProjectSectionRepository, ProjectSectionRepository>();
services.AddScoped<ISkillRepository, SkillRepository>();
services.AddScoped<IUserRefreshTokenRepository, UserRefreshTokenRepository>();
// JWT Settings
services.Configure<JwtSettings>(configuration.GetSection("JwtSettings"));