Пример #1
0
 public EmployeeService(
     DriveDbContext dbContext,
     IMapper mapper,
     IFileDapper fileDapper,
     IFolderDapper folderDapper)
 {
     this.mapper       = mapper;
     this.fileDapper   = fileDapper;
     this.folderDapper = folderDapper;
     this.dbContext    = dbContext;
 }
 public FileService(
     IFileDapper fileDapper,
     IFolderService folderService,
     IMessageService messageService,
     IBus publisher,
     DriveDbContext dbContext)
 {
     this.fileDapper     = fileDapper;
     this.folderService  = folderService;
     this.messageService = messageService;
     this.publisher      = publisher;
     this.dbContext      = dbContext;
 }
Пример #3
0
 public FolderService(
     IFolderDapper folderDapper,
     IPermissionDapper permissionsDapper,
     IFileDapper fileDapper,
     IEmployeeService employeeService,
     IMessageService messageService,
     IBus publisher,
     DriveDbContext dbContext)
 {
     this.folderDapper      = folderDapper;
     this.permissionsDapper = permissionsDapper;
     this.fileDapper        = fileDapper;
     this.employeeService   = employeeService;
     this.messageService    = messageService;
     this.publisher         = publisher;
     this.dbContext         = dbContext;
 }