using PARR.Core.Repositories.Interfaces;
using PARR.DAL.Context;

namespace PARR.DAL.Repositories
{
    internal class StatusTemplateRepository : IStatusTemplateRepository
    {
        private readonly DataContext dataContext;

        public StatusTemplateRepository(DataContext dataContext)
        {
            this.dataContext = dataContext;
        }

        public IQueryable<Domain.Entities.TaskStatus> Get()
        {
            return dataContext.TaskStatuses;
        }
    }
}
