public ProcessRevMaintenanceModel(IProcessDataAccess aProcessDataAccess, IStepDataAccess aStepDataAccess, IOperationDataAccess anOperationDataAccess, IEmployeeDataAccess anEmployeeDataAccess, IConfiguration aConfig)//Config is injected only to grab the APIAddress for the javascript calls on the web page. { ProcessDataAccess = aProcessDataAccess; StepDataAccess = aStepDataAccess; OperationDataAccess = anOperationDataAccess; EmployeeDataAccess = anEmployeeDataAccess; _apiAddress = aConfig["APIAddress"]; }
public OperationMaintenanceModel(IOperationDataAccess anOperationDataAccess) { OperationDataAccess = anOperationDataAccess; }