2023-06-16 15:00:11 +10:00
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
|
|
using PARR.DAL.Context;
|
|
|
|
|
|
using PARR.DAL.Models;
|
|
|
|
|
|
using PARR.DAL.Services.Abstracts;
|
|
|
|
|
|
using PARR.DAL.Services.Interfaces;
|
|
|
|
|
|
|
|
|
|
|
|
namespace PARR.DAL.Services.Implementations
|
|
|
|
|
|
{
|
2023-06-20 12:29:58 +10:00
|
|
|
|
//internal class SchedulerService : BaseService<Scheduler>, ISchedulerService
|
|
|
|
|
|
//{
|
|
|
|
|
|
// private readonly DataContext dataContext;
|
2023-06-16 15:00:11 +10:00
|
|
|
|
|
2023-06-20 12:29:58 +10:00
|
|
|
|
// public SchedulerService(DataContext dataContext, ILogger<SchedulerService> logger) : base(logger)
|
|
|
|
|
|
// {
|
|
|
|
|
|
// this.dataContext = dataContext;
|
|
|
|
|
|
// }
|
|
|
|
|
|
// protected override DbSet<Scheduler> EntitySet => dataContext.Schedulers;
|
2023-06-16 15:00:11 +10:00
|
|
|
|
|
2023-06-20 12:29:58 +10:00
|
|
|
|
// protected override DataContext EntitiContext => dataContext;
|
|
|
|
|
|
//}
|
2023-06-16 15:00:11 +10:00
|
|
|
|
}
|