public HomeController()
 {
     PMPDBEntities context = new PMPDBEntities();
     _homeService = new HomeService(context);
 }
 public AccountService(PMPDBEntities context)
     : base(context)
 {
 }
 public TaskController()
 {
     PMPDBEntities context = new PMPDBEntities();
     _taskService = new TaskService(context);
     _hubContext = GlobalHost.ConnectionManager.GetHubContext<BaseHub>();
 }
 public BaseService(PMPDBEntities context)
 {
     _uWork = new UnityOfWork(context);
 }
 public UnityOfWork(PMPDBEntities context)
 {
     _context = context;
 }
 public TaskService(PMPDBEntities context)
     : base(context)
 {
 }
 public HomeService(PMPDBEntities context)
     : base(context)
 {
 }
 public SubtaskController()
 {
     PMPDBEntities context = new PMPDBEntities();
     _subtaskService = new SubtaskService(context);
 }
 public ProjectController()
 {
     PMPDBEntities _context = new PMPDBEntities();
     _projectService = new ProjectService(_context);
 }
 public ProjectService(PMPDBEntities context)
     : base(context)
 {
 }
 public AccountController()
 {
     //make instance of AccountService passing context
     PMPDBEntities context = new PMPDBEntities();
     _accService = new AccountService(context);
 }
 public LogsAndCommentsService(PMPDBEntities context)
     : base(context)
 {
 }
 public LogsAndCommentsController()
 {
     PMPDBEntities context = new PMPDBEntities();
     _logsAndCommentsService = new LogsAndCommentsService(context);
 }