...
This commit is contained in:
@@ -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"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user