Changeset a26f6a1 for resTools_backend/backend/Program.cs
- Timestamp:
- 08/09/22 16:09:32 (2 years ago)
- Branches:
- master
- Children:
- a569b7c
- Parents:
- 899b19d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
resTools_backend/backend/Program.cs
r899b19d ra26f6a1 1 1 using backend.Data; 2 using backend.Email; 2 3 using backend.Helpers; 3 4 using backend.Services; … … 50 51 builder.Services.AddScoped<ISmsService, SmsService>(); 51 52 53 builder.Services.AddTransient<IEmailSender, EmailSender>(); 54 52 55 builder.Services.AddDbContext<DataContext>(p => p.UseNpgsql(builder.Configuration.GetConnectionString("DefaultConnection"))); 53 56
Note:
See TracChangeset
for help on using the changeset viewer.