Files
parr_api/PARR.DAL/Services/Implementations/ParrComponentService.cs
2024-10-08 13:53:57 +10:00

22 lines
502 B
C#

using PARR.DAL.Context;
using PARR.DAL.Models;
using PARR.DAL.Services.Interfaces;
namespace PARR.DAL.Services.Implementations
{
internal class ParrComponentService : IParrComponentService
{
private readonly DataContext dataContext;
public ParrComponentService(DataContext dataContext)
{
this.dataContext = dataContext;
}
public IQueryable<ParrComponent> Get()
{
return dataContext.ParrComponents;
}
}
}