예제 #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;
 }
예제 #2
0
 public CategoryService(INotesDbContext db)
 {
     _db = db;
 }
예제 #3
0
 public UserRoleService(INotesDbContext db)
 {
     _db = db;
 }
예제 #4
0
 public NoteService(INotesDbContext db)
 {
     _db = db;
 }
예제 #5
0
 public UserService(INotesDbContext db, IUserRoleService userRoles)
 {
     _db        = db;
     _userRoles = userRoles;
 }
예제 #6
0
 public NoteReferenceService(INotesDbContext db)
 {
     _db = db;
 }