refactor(dal,api,templateMatcher,templateGenerator,templateActivator): Немного порядка в namespaceах
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
using Microsoft.Extensions.Logging;
|
||||
using PARR.Core.Repositories.Interfaces.Job;
|
||||
using PARR.Core.Repositories.Interfaces.JobGroupRepositories;
|
||||
using PARR.DAL.Context;
|
||||
using PARR.DAL.Repositories.Base;
|
||||
using PARR.Domain.Entities.JobGroupEntities;
|
||||
|
||||
namespace PARR.DAL.Repositories.Job
|
||||
namespace PARR.DAL.Repositories.JobGroupRepositories
|
||||
{
|
||||
internal class JobGroupRepository : BaseRepository<JobGroup>, IJobGroupRepository
|
||||
{
|
||||
@@ -1,10 +1,10 @@
|
||||
using Microsoft.Extensions.Logging;
|
||||
using PARR.Core.Repositories.Interfaces.Job;
|
||||
using PARR.Core.Repositories.Interfaces.JobGroupRepositories;
|
||||
using PARR.DAL.Context;
|
||||
using PARR.DAL.Repositories.Base;
|
||||
using PARR.Domain.Entities.JobGroupEntities;
|
||||
|
||||
namespace PARR.DAL.Repositories.Job
|
||||
namespace PARR.DAL.Repositories.JobGroupRepositories
|
||||
{
|
||||
internal class JobGroupTypeRepository : BaseRepository<JobGroupType>, IJobGroupTypeRepository
|
||||
{
|
||||
@@ -1,8 +1,8 @@
|
||||
using Microsoft.Extensions.Logging;
|
||||
using PARR.Core.Repositories.Interfaces.Job;
|
||||
using PARR.Core.Repositories.Interfaces.JobRepositories;
|
||||
using PARR.DAL.Context;
|
||||
using PARR.DAL.Repositories.Base;
|
||||
using PARR.Domain.Entities.Job;
|
||||
using PARR.Domain.Entities.JobEntities;
|
||||
|
||||
namespace PARR.DAL.Repositories.Job
|
||||
{
|
||||
@@ -1,6 +1,6 @@
|
||||
using PARR.Core.Repositories.Interfaces.Job;
|
||||
using PARR.Core.Repositories.Interfaces.JobRepositories;
|
||||
using PARR.DAL.Context;
|
||||
using PARR.Domain.Entities.Job;
|
||||
using PARR.Domain.Entities.JobEntities;
|
||||
|
||||
namespace PARR.DAL.Repositories.Job
|
||||
{
|
||||
@@ -1,16 +1,16 @@
|
||||
using Microsoft.Extensions.Logging;
|
||||
using PARR.Core.Repositories.Interfaces.Job;
|
||||
using PARR.Core.Repositories.Interfaces.JobRepositories;
|
||||
using PARR.DAL.Context;
|
||||
using PARR.DAL.Repositories.Base;
|
||||
using PARR.Domain.Entities.Job;
|
||||
using PARR.Domain.Entities.JobEntities;
|
||||
|
||||
namespace PARR.DAL.Repositories.Job
|
||||
namespace PARR.DAL.Repositories.JobRepositories
|
||||
{
|
||||
internal class JobRepository : BaseRepository<Domain.Entities.Job.Job>, IJobRepository
|
||||
internal class JobRepository : BaseRepository<Domain.Entities.JobEntities.Job>, IJobRepository
|
||||
{
|
||||
public JobRepository(DataContext dataContext, ILogger<JobRepository> logger) : base(logger, dataContext) { }
|
||||
|
||||
public override Task<bool> CreateAsync(Domain.Entities.Job.Job obj)
|
||||
public override Task<bool> CreateAsync(Domain.Entities.JobEntities.Job obj)
|
||||
{
|
||||
if (obj.AutoControl == null)
|
||||
obj.AutoControl = new JobAutoControl
|
||||
@@ -22,7 +22,7 @@ namespace PARR.DAL.Repositories.Job
|
||||
}
|
||||
|
||||
|
||||
public override Task<bool> AddRangeAsync(List<Domain.Entities.Job.Job> objs)
|
||||
public override Task<bool> AddRangeAsync(List<Domain.Entities.JobEntities.Job> objs)
|
||||
{
|
||||
objs.ForEach(job =>
|
||||
{
|
||||
@@ -1,8 +1,8 @@
|
||||
using Microsoft.Extensions.Logging;
|
||||
using PARR.Core.Repositories.Interfaces.Job;
|
||||
using PARR.Core.Repositories.Interfaces.JobRepositories;
|
||||
using PARR.DAL.Context;
|
||||
using PARR.DAL.Repositories.Base;
|
||||
using PARR.Domain.Entities.Job;
|
||||
using PARR.Domain.Entities.JobEntities;
|
||||
|
||||
namespace PARR.DAL.Repositories.Job
|
||||
{
|
||||
Reference in New Issue
Block a user