Exemplo n.º 1
0
 public BusinessLogic(INotesDbContext db, IUserService users, ICategoryService categories,
                      INoteService notes, INoteReferenceService noteReferences, IRoleService roles, IUserRoleService userRoles)
 {
     _db            = db;
     Roles          = roles;
     Users          = users;
     UserRoles      = userRoles;
     Categories     = categories;
     Notes          = notes;
     NoteReferences = noteReferences;
 }
Exemplo n.º 2
0
 public CategoryService(INotesDbContext db)
 {
     _db = db;
 }
Exemplo n.º 3
0
 public UserRoleService(INotesDbContext db)
 {
     _db = db;
 }
Exemplo n.º 4
0
 public NoteService(INotesDbContext db)
 {
     _db = db;
 }
Exemplo n.º 5
0
 public UserService(INotesDbContext db, IUserRoleService userRoles)
 {
     _db        = db;
     _userRoles = userRoles;
 }
Exemplo n.º 6
0
 public NoteReferenceService(INotesDbContext db)
 {
     _db = db;
 }