public AdminController(IHostingEnvironment env, IBlogRepository repoB, IStaffRepository repoS, ICertRepository repoC, IGalleryRepository repoG, ITagRepository repoT) { _appEnv = env; repositoryBlog = repoB; repositoryStaff = repoS; repositoryCert = repoC; repositoryGall = repoG; repositoryTag = repoT; }
public ManagingCertService() { certRepository = new CertRepository(); }
public StaffController(IStaffRepository repo, ICertRepository repoC) { repositoryCert = repoC; repository = repo; }
public CertService(ICertRepository repository) : base(repository) { this.repository = repository; }
public ManagingCopiedCertService() { copiedCertRepository = new CopiedCertRepository(); certRepository = new CertRepository(); }