/// <summary> /// The Constructor /// </summary> /// <param name="applicationDbContext"></param> /// <param name="contractsServices"></param> /// <param name="logger"></param> public ContractsController( ApplicationDbContext applicationDbContext, IContractsServices contractsServices, ILogger <ContractsController> logger) { _db = applicationDbContext; _contractServices = contractsServices; _logger = logger; }
/// <summary> /// The Constructor /// </summary> /// <param name="contractsServices"></param> /// <param name="employeeServices"></param> /// <param name="medicalCoverServices"></param> /// <param name="logger"></param> /// <param name="db"></param> /// <param name="employeeContractServices"></param> public ContractRenewController( IContractsServices contractsServices, IEmployeeServices employeeServices, IMedicalCoverServices medicalCoverServices, ILogger <ContractRenewController> logger, ApplicationDbContext db, IEmployeeContractServices employeeContractServices) { _contractsServices = contractsServices; _employeeServices = employeeServices; _medicalCoverServices = medicalCoverServices; _logger = logger; _db = db; _employeeContractServices = employeeContractServices; }
public ContractsController(IContractsServices contracts) { this.contracts = contracts; }