Exemple #1
0
 public CollaboratorController(
     IProjectRepository projectRepository,
     ICollaboratorRepository collaboratorRepository,
     UserManager <ApplicationUser> userManager,
     ProjectAndCollaboratorHandler projAndCollabHandler,
     PermissionServices permissionServices,
     ILoggerFactory logger
     )
 {
     _userManager            = userManager;
     _projectRepository      = projectRepository;
     _collaboratorRepository = collaboratorRepository;
     _permissionServices     = permissionServices;
     _projAndCollabHandler   = projAndCollabHandler;
     _logger = logger.CreateLogger <ProjectController>();
 }
Exemple #2
0
 public ProjectController(
     IProjectRepository projectRepository,
     ICollaboratorRepository collaboratorRepository,
     IFolderRepository folderRepository,
     IFileRepository fileRepository,
     UserManager <ApplicationUser> userManager,
     ProjectAndCollaboratorHandler projAndCollabHandler,
     ILoggerFactory logger
     )
 {
     _userManager            = userManager;
     _projectRepository      = projectRepository;
     _collaboratorRepository = collaboratorRepository;
     _folderRepository       = folderRepository;
     _fileRepository         = fileRepository;
     _projAndCollabHandler   = projAndCollabHandler;
     _logger = logger.CreateLogger <ProjectController>();
 }