﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RS.Projects.BL
{
    public class ProjectsManager : BaseManager
    {
        public ProjectsManager(Guid companyId): base(companyId) { }

        public List<DM.Project> GetProjects()
        {
            using (var repository = new DAL.ProjectsRepository(ConnectionString))
            {
                return repository.GetProjects();
            }
        }
    }
}
