JobTitleRepository.cs 543 B

1234567891011121314151617181920
  1. using Microsoft.EntityFrameworkCore;
  2. using MTWorkHR.Core.Entities;
  3. using MTWorkHR.Core.IDto;
  4. using MTWorkHR.Core.IRepositories;
  5. using MTWorkHR.Infrastructure.Entities;
  6. using MTWorkHR.Infrastructure.DBContext;
  7. namespace MTWorkHR.Infrastructure.Repositories
  8. {
  9. public class JobTitleRepository : Repository<JobTitle>, IJobTitleRepository
  10. {
  11. private readonly DbSet<JobTitle> dbSet;
  12. public JobTitleRepository(HRDataContext context) : base(context)
  13. {
  14. dbSet = context.Set<JobTitle>();
  15. }
  16. }
  17. }