/// <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;
 }
示例#2
0
 /// <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;
 }
示例#4
0
 /// <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;
 }
示例#5
0
 /// <summary>
 /// Constructor dependency injection
 /// </summary>
 /// <param name="driverLogic"></param>
 public DriverController(IDriverLogic driverLogic)
 {
     _driverLogic = driverLogic;
 }
示例#6
0
 /// <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;
 }
示例#7
0
 public CommandLogic(IDriverLogic personLogic, ITripLogic tripLogic)
 {
     _driverLogic = personLogic;
     _tripLogic   = tripLogic;
 }
示例#8
0
 /// <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;
 }