This commit is contained in:
2023-12-01 20:47:42 +02:00
parent a09fc7ece3
commit 045f60e373
39 changed files with 1252 additions and 945 deletions
+4 -2
View File
@@ -44,6 +44,7 @@ using Services.Item;
using MyOffice.Services.Dashboard;
using MyOffice.Services.Identity;
using MyOffice.Services.Mapper;
using MyOffice.Services.Account.Domain;
//TODO: Data.Model only Repository and Service, response <-> mapper <-> web <-> mapper <-> service <-> repository
//TODO: Project management
@@ -252,8 +253,8 @@ public class Program
c.AllowNullCollections = true;
c.AllowNullDestinationValues = true;
},
typeof(AccountViewModelProfile),
typeof(AccountServiceProfile)
typeof(AccountDto).Assembly,
typeof(AccountViewModel).Assembly
);
}
@@ -421,6 +422,7 @@ public class Program
.AllowAnyMethod());
app.UseIdentityServer();
//app.UseAuthentication();
app.UseAuthorization();
app.MapControllers();