public BBBaseApiController() { try { _log = new Log4NetLoggingService(); _repository = new BBRepository( new CodeGenHero.BingoBuzz.Repository.Entities.BB.BBDataContext()); RunCustomLogicAfterCtor(); } catch (Exception ex) { if (_log != null) { _log.Error(message: $"Failure to initialize repository in controller constructor.", logMessageType: LogMessageType.Instance.Exception_WebApi, ex: ex); } else { throw; } } }
public MeetingSchedulesBBController(ILoggingService log, IBBRepository repository) : base(log, repository) { }
public BingoInstanceStatusTypesBBController(ILoggingService log, IBBRepository repository) : base(log, repository) { }
public BBBaseApiController(ILoggingService log, IBBRepository repository) { _repository = repository; _log = log; RunCustomLogicAfterCtor(); }
public CompaniesBBController(ILoggingService log, IBBRepository repository) : base(log, repository) { }
public RecurrenceRulesBBController(ILoggingService log, IBBRepository repository) : base(log, repository) { }
public NotificationMethodTypesBBController(ILoggingService log, IBBRepository repository) : base(log, repository) { }
public BBAPIStatusController(ILoggingService log, IBBRepository repository) : base(log, repository) { }
public BingoContentsBBController(ILoggingService log, IBBRepository repository) : base(log, repository) { }
public FrequencyTypesBBController(ILoggingService log, IBBRepository repository) : base(log, repository) { }