รวม code แก้ op 4 ข้อ
This commit is contained in:
@@ -292,6 +292,8 @@ namespace Test01
|
||||
services.AddScoped<IBaseRepository2<eva_temp_fingerscanEntity, string>, BaseRepository2<eva_temp_fingerscanEntity, string>>();
|
||||
services.AddScoped<Ieva_temp_fingerscanService, eva_temp_fingerscanService>();
|
||||
|
||||
services.AddScoped<Ieva_idp_plan_ownerService, eva_idp_plan_ownerService>();
|
||||
|
||||
#endregion
|
||||
|
||||
services.TryAddSingleton<IHttpContextAccessor, HttpContextAccessor>();
|
||||
@@ -499,6 +501,10 @@ namespace Test01
|
||||
cfg.CreateMap<eva_idp_planEntity, eva_idp_planViewModel>();
|
||||
cfg.CreateMap<eva_idp_planEntity, eva_idp_planWithSelectionViewModel>();
|
||||
|
||||
cfg.CreateMap<eva_idp_plan_ownerInputModel, eva_idp_planEntity>();
|
||||
cfg.CreateMap<eva_idp_planEntity, eva_idp_plan_ownerViewModel>();
|
||||
cfg.CreateMap<eva_idp_planEntity, eva_idp_plan_ownerWithSelectionViewModel>();
|
||||
|
||||
});
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user