Esempio n. 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);
 }
Esempio n. 2
0
 public SubStatusDb(ToDoTrelloContext context)
 {
     repository = new Repository <SubStatus>(new UnitOfWork(context));
 }
 public SubscribeDb(ToDoTrelloContext context)
 {
     repository = new Repository <Subscribe>(new UnitOfWork(context));
 }
Esempio n. 4
0
 public UnitOfWork(ToDoTrelloContext context)
 {
     Context = context;
 }
 public HomeController(ToDoTrelloContext context) : base(context)
 {
 }
 public AccountController(ToDoTrelloContext context) : base(context)
 {
 }
Esempio n. 7
0
 public RoleDb(ToDoTrelloContext context)
 {
     repository = new Repository <Role>(new UnitOfWork(context));
 }
Esempio n. 8
0
 public TaskDb(ToDoTrelloContext context)
 {
     repository = new Repository <Task>(new UnitOfWork(context));
 }
Esempio n. 9
0
 public AdminController(ToDoTrelloContext context) : base(context)
 {
 }
Esempio n. 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);
 }
Esempio n. 13
0
 public ProjectDb(ToDoTrelloContext context)
 {
     repository = new Repository <Project>(new UnitOfWork(context));
 }
Esempio n. 14
0
 public PriorityDb(ToDoTrelloContext context)
 {
     repository = new Repository <Priority>(new UnitOfWork(context));
 }