public UnitOfWork(IConfiguration config , IProjectRepository projectRepository , IMemberRepository memberRepository , IProjectMaintenanceRepository projectMaintenanceRepository , IAttachmentFileRepository attachmentFileRepository , IUserRepository userRepository , IMstRepository mstRepository , IEmployeeRepository employeeRepository , ICustomerRepository customerRepository , ITaskRepository taskRepository , ISalaryRepository salaryRepository , IAnnualLeavePaidRepository annualLeavePaidRepository , IAnnualBonusRepository annualBonusRepository , IKPIRepository kPIRepository ) { _config = config; _projectRepository = projectRepository; _MemberRepository = memberRepository; _projectMaintenanceRepository = projectMaintenanceRepository; _attachmentFileRepository = attachmentFileRepository; _UserRepository = userRepository; _MstRepository = mstRepository; _EmployeeRepository = employeeRepository; _CustomerRepository = customerRepository; _taskRepository = taskRepository; _salaryRepository = salaryRepository; _annualLeavePaidRepository = annualLeavePaidRepository; _annualBonusRepository = annualBonusRepository; _kPIRepository = kPIRepository; }
public SmtpMailSenderMock(IEmailMockRepository emailMockRepository, IBroadcastMailsRepository broadcastMailsRepository, IAttachmentFileRepository attachmentFileRepository, IEmailAttachmentsMockRepository emailAttachmentsMockRepository) { _emailMockRepository = emailMockRepository; _broadcastMailsRepository = broadcastMailsRepository; _attachmentFileRepository = attachmentFileRepository; _emailAttachmentsMockRepository = emailAttachmentsMockRepository; }
private void resetRepositories() { //Repository _projectRepository = null; _UserRepository = null; _MemberRepository = null; _projectMaintenanceRepository = null; _attachmentFileRepository = null; _MstRepository = null; _EmployeeRepository = null; _CustomerRepository = null; }
public AttachmentFileController(IAttachmentFileRepository repo) { _repo = repo; }