Beispiel #1
0
 public AllDb(ToDoTrelloContext context)
 {
     PriorityDb  = new PriorityDb(context);
     ProjectDb   = new ProjectDb(context);
     RoleDb      = new RoleDb(context);
     SubscribeDb = new SubscribeDb(context);
     SubStatusDb = new SubStatusDb(context);
     TaskDb      = new TaskDb(context);
     UserDb      = new UserDb(context);
 }
Beispiel #2
0
 public SubStatusDb(ToDoTrelloContext context)
 {
     repository = new Repository <SubStatus>(new UnitOfWork(context));
 }
 public SubscribeDb(ToDoTrelloContext context)
 {
     repository = new Repository <Subscribe>(new UnitOfWork(context));
 }
Beispiel #4
0
 public UnitOfWork(ToDoTrelloContext context)
 {
     Context = context;
 }
 public HomeController(ToDoTrelloContext context) : base(context)
 {
 }
 public AccountController(ToDoTrelloContext context) : base(context)
 {
 }
Beispiel #7
0
 public RoleDb(ToDoTrelloContext context)
 {
     repository = new Repository <Role>(new UnitOfWork(context));
 }
Beispiel #8
0
 public TaskDb(ToDoTrelloContext context)
 {
     repository = new Repository <Task>(new UnitOfWork(context));
 }
Beispiel #9
0
 public AdminController(ToDoTrelloContext context) : base(context)
 {
 }
Beispiel #10
0
 public UserDb(ToDoTrelloContext context)
 {
     repository = new Repository <User>(new UnitOfWork(context));
 }
 public TaskController(ToDoTrelloContext context) : base(context)
 {
 }
 public BaseController(ToDoTrelloContext context)
 {
     db = new AllDb(context);
 }
Beispiel #13
0
 public ProjectDb(ToDoTrelloContext context)
 {
     repository = new Repository <Project>(new UnitOfWork(context));
 }
Beispiel #14
0
 public PriorityDb(ToDoTrelloContext context)
 {
     repository = new Repository <Priority>(new UnitOfWork(context));
 }