/// <summary> /// Constructor dependency injection /// </summary> /// <param name="studentLogic"></param> /// <param name="driverLogic"></param> /// <param name="hostLogic"></param> /// <param name="eventLogic"></param> /// <param name="emailServiceApiApi"></param> public RegistrationLogic(IStudentLogic studentLogic, IDriverLogic driverLogic, IHostLogic hostLogic, IEventLogic eventLogic, IEmailServiceApi emailServiceApiApi) { _studentLogic = studentLogic; _driverLogic = driverLogic; _hostLogic = hostLogic; _eventLogic = eventLogic; _emailServiceApiApi = emailServiceApiApi; }
/// <summary> /// Constructor dependency injection /// </summary> /// <param name="globalConfigs"></param> /// <param name="studentLogic"></param> /// <param name="driverLogic"></param> /// <param name="hostLogic"></param> /// <param name="userLogic"></param> /// <param name="emailServiceApiApi"></param> public EmailUtilityLogic(GlobalConfigs globalConfigs, IStudentLogic studentLogic, IDriverLogic driverLogic, IHostLogic hostLogic, IUserLogic userLogic, IEmailServiceApi emailServiceApiApi) { _globalConfigs = globalConfigs; _studentLogic = studentLogic; _driverLogic = driverLogic; _hostLogic = hostLogic; _userLogic = userLogic; _emailServiceApiApi = emailServiceApiApi; }
public DriverController(ConestogaCarpoolContext context, IDriverLogic driverLogic) { _context = context; _driverLogic = driverLogic; }
/// <summary> /// Constructor dependency injection /// </summary> /// <param name="studentLogic"></param> /// <param name="driverLogic"></param> /// <param name="emailServiceApi"></param> public AttendanceLogic(IStudentLogic studentLogic, IDriverLogic driverLogic, IEmailServiceApi emailServiceApi) { _studentLogic = studentLogic; _driverLogic = driverLogic; _emailServiceApi = emailServiceApi; }
/// <summary> /// Constructor dependency injection /// </summary> /// <param name="driverLogic"></param> public DriverController(IDriverLogic driverLogic) { _driverLogic = driverLogic; }
/// <summary> /// Student-Driver mapping logic /// </summary> /// <param name="studentLogic"></param> /// <param name="driverLogic"></param> /// <param name="emailServiceApi"></param> public StudentDriverMappingLogic(IStudentLogic studentLogic, IDriverLogic driverLogic, IEmailServiceApi emailServiceApi) { _studentLogic = studentLogic; _driverLogic = driverLogic; _emailServiceApi = emailServiceApi; }
public CommandLogic(IDriverLogic personLogic, ITripLogic tripLogic) { _driverLogic = personLogic; _tripLogic = tripLogic; }
/// <summary> /// Constructor dependency injection /// </summary> /// <param name="emailUtilityLogic"></param> /// <param name="studentLogic"></param> /// <param name="driverLogic"></param> public UtilityController(IEmailUtilityLogic emailUtilityLogic, IStudentLogic studentLogic, IDriverLogic driverLogic) { _emailUtilityLogic = emailUtilityLogic; _studentLogic = studentLogic; _driverLogic = driverLogic; }
/// <summary> /// Driver-Host mapping logic /// </summary> /// <param name="driverLogic"></param> /// <param name="hostLogic"></param> /// <param name="emailServiceApi"></param> public DriverHostMappingLogic(IDriverLogic driverLogic, IHostLogic hostLogic, IEmailServiceApi emailServiceApi) { _driverLogic = driverLogic; _hostLogic = hostLogic; _emailServiceApi = emailServiceApi; }