public TasksController()
 {
     var contextRepository = new ContextRepository();
     _userRepository = new UserRepository(contextRepository);
     _taskRepository = new TaskRepository(contextRepository, _userRepository);
     _workflowStepRepository = new WorkflowStepRepository(contextRepository);
 }
Beispiel #2
0
 public MenuController()
 {
     var contextRepository = new ContextRepository();
     _teamRepository = new TeamRepository(contextRepository);
 }
 public WorklogsController()
 {
     var contextRepository = new ContextRepository();
     _userRepository = new UserRepository(contextRepository);
     _worklogRepository = new WorklogRepository(contextRepository, _userRepository);
 }