This commit is contained in:
mmrbnjd
2025-07-24 23:18:11 +03:30
parent 4977be215c
commit d4c4bb2ffd
20 changed files with 2285 additions and 65 deletions

View File

@@ -1,4 +1,6 @@
using Hushian.WebApi;
using Hushian.Application.Models;
using Hushian.Application.Services;
using Hushian.WebApi;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
@@ -58,7 +60,14 @@ namespace Hushian.Application
}
};
});
services.AddScoped(typeof(AuthService));
services.AddScoped(typeof(CompanyService));
services.AddScoped(typeof(ConversationService));
services.AddScoped(typeof(ExperService));
services.AddScoped(typeof(GroupService));
services.AddScoped(typeof(UserService));
services.AddScoped(typeof(VerificationService));
services.Configure<JwtSettings>(configuration.GetSection("JwtSettings"));
}
}
}