diff --git a/WorkFlow.Domain/Entities/ProfControlsTf.cs b/WorkFlow.Domain/Entities/ProfileControlsTF.cs similarity index 97% rename from WorkFlow.Domain/Entities/ProfControlsTf.cs rename to WorkFlow.Domain/Entities/ProfileControlsTF.cs index 107a73a..b8f50fb 100644 --- a/WorkFlow.Domain/Entities/ProfControlsTf.cs +++ b/WorkFlow.Domain/Entities/ProfileControlsTF.cs @@ -6,7 +6,7 @@ using System.ComponentModel.DataAnnotations.Schema; namespace WorkFlow.Domain.Entities { [Table("TBMWF_PROF_CONTROLS_TF", Schema = "dbo")] - public class ProfControlsTf : IUnique + public class ProfileControlsTF : IUnique { [Key] [Column("GUID")] diff --git a/WorkFlow.Infrastructure/Contracts/IProfControlsTfRepository.cs b/WorkFlow.Infrastructure/Contracts/IProfileControlsTFRepository.cs similarity index 61% rename from WorkFlow.Infrastructure/Contracts/IProfControlsTfRepository.cs rename to WorkFlow.Infrastructure/Contracts/IProfileControlsTFRepository.cs index 042f3f3..c57f3d8 100644 --- a/WorkFlow.Infrastructure/Contracts/IProfControlsTfRepository.cs +++ b/WorkFlow.Infrastructure/Contracts/IProfileControlsTFRepository.cs @@ -3,7 +3,7 @@ using WorkFlow.Domain.Entities; namespace WorkFlow.Infrastructure.Contracts { - public interface IProfControlsTfRepository : ICRUDRepository + public interface IProfileControlsTFRepository : ICRUDRepository { } } \ No newline at end of file diff --git a/WorkFlow.Infrastructure/DIExtensions.cs b/WorkFlow.Infrastructure/DIExtensions.cs index 3d70ec6..f68c1bc 100644 --- a/WorkFlow.Infrastructure/DIExtensions.cs +++ b/WorkFlow.Infrastructure/DIExtensions.cs @@ -8,7 +8,7 @@ namespace WorkFlow.Infrastructure { public static IServiceCollection AddWorkFlowRepositories(this IServiceCollection services) => services .AddScoped() - .AddScoped() + .AddScoped() .AddScoped() .AddScoped() .AddScoped(); diff --git a/WorkFlow.Infrastructure/Repositories/ProfControlsTfRepository.cs b/WorkFlow.Infrastructure/Repositories/ProfControlsTfRepository.cs deleted file mode 100644 index c7ed316..0000000 --- a/WorkFlow.Infrastructure/Repositories/ProfControlsTfRepository.cs +++ /dev/null @@ -1,11 +0,0 @@ -using DigitalData.Core.Abstractions.Infrastructure; -using DigitalData.Core.Infrastructure; -using WorkFlow.Domain.Entities; -using WorkFlow.Infrastructure.Contracts; - -namespace WorkFlow.Infrastructure.Repositories -{ - public class ProfControlsTfRepository(WFDBContext dbContext) : CRUDRepository(dbContext, dbContext.ProfControlsTfs), IProfControlsTfRepository, ICRUDRepository - { - } -} \ No newline at end of file diff --git a/WorkFlow.Infrastructure/Repositories/ProfileControlsTFRepository.cs b/WorkFlow.Infrastructure/Repositories/ProfileControlsTFRepository.cs new file mode 100644 index 0000000..e35acca --- /dev/null +++ b/WorkFlow.Infrastructure/Repositories/ProfileControlsTFRepository.cs @@ -0,0 +1,11 @@ +using DigitalData.Core.Abstractions.Infrastructure; +using DigitalData.Core.Infrastructure; +using WorkFlow.Domain.Entities; +using WorkFlow.Infrastructure.Contracts; + +namespace WorkFlow.Infrastructure.Repositories +{ + public class ProfileControlsTFRepository(WFDBContext dbContext) : CRUDRepository(dbContext, dbContext.ProfileControlsTFs), IProfileControlsTFRepository, ICRUDRepository + { + } +} \ No newline at end of file diff --git a/WorkFlow.Infrastructure/WFDBContext.cs b/WorkFlow.Infrastructure/WFDBContext.cs index bb9e7ed..63011f5 100644 --- a/WorkFlow.Infrastructure/WFDBContext.cs +++ b/WorkFlow.Infrastructure/WFDBContext.cs @@ -7,7 +7,7 @@ namespace WorkFlow.Infrastructure { public DbSet Configs { get; set; } - public DbSet ProfControlsTfs { get; set; } + public DbSet ProfileControlsTFs { get; set; } public DbSet Profiles { get; set; }