public CallLogService(ICustomerRepository customerRepository, IEmployeeRepository employeeRepository, ICustomerContactTemplateRepository customerContactTemplateRepository, ICallLogRepository callLogRepository, IUnitOfWork uow) { _customerContactTemplateRepository = customerContactTemplateRepository; _customerRepository = customerRepository; _employeeRepository = employeeRepository; _callLogRepository = callLogRepository; _uow = uow; }
public ConfigsController(DenormRepoDbContext context, ICallLogRepository ICallLogRepository, IOrderCodeRepository IOrderCodeRepository, IConfiguration Configuration, ILogger <ConfigsController> logger) { _context = context; _ICallLogRepository = ICallLogRepository; _IOrderCodeRepository = IOrderCodeRepository; _IConfiguration = Configuration; _IConfigurationSection = _IConfiguration.GetSection("AppSettings"); _logger = logger; }
/// <summary> /// Create a new instance of Customer Management Service /// </summary> /// <param name="accountRepository">Associated CustomerRepository, intented to be resolved with DI</param> public CallLogAppService(ICallLogRepository callLogRepository) //the userinfo repository { if (callLogRepository == null) { throw new ArgumentNullException("callLogRepository"); } _callLogRepository = callLogRepository; }