using System;
using System.Threading;
using System.Web;
using System.Web.Mvc;
using Infrastructure.DataAccess;
using TestCasePlanner.Infrastructure;

namespace TestCasePlanner.Controllers
{
    public class AppBaseController : Controller
    {
        public AppBaseController() : this(new AppDbContext(), new SelectedProject())
        {
        }

        public AppBaseController(AppDbContext context, ISelectedProject project)
        {
            Context = context;
            SelProject = project;
        }

        public AppDbContext Context { get; private set; }
        public ISelectedProject SelProject { get; private set; }
	}
}