public CustomListServiceTest()
 {
     taskManager = new TaskManager();
     context     = Connector.Connect();
     taskManager.setDb(context);
     listService = new CustomListService(context, taskManager);
     ImportanceManager.CreateDefaultImportances(context);
 }
 /// <summary>
 /// constructor
 /// </summary>
 /// <param name="context"></param>
 /// <param name="taskManger"></param>
 /// <param name="customListService"></param>
 /// <param name="userService"></param>
 public ListController(Models.TodoContext context,
                       TaskManager taskManger, CustomListService customListService, UserService userService)
 {
     db           = context;
     _taskManager = taskManger;
     _taskManager.setDb(db);
     ImportanceManager.CreateDefaultImportances(db);//adding defaultImportances
     _customListService = customListService;
     _userService       = userService;
 }
 public TaskManagerTest()
 {
     context = Connector.Connect();
     taskManager.setDb(context);
     ImportanceManager.CreateDefaultImportances(context);
 }