public AlertService(BSNSContext db, IFriendDAO friendDAO, IUserSession userSession, IAlertDAO alertDAO) { _db = db; this.friendDAO = friendDAO; this.userSession = userSession; this.alertDAO = alertDAO; }
public AlertService(IAlertDAO storage) { _storage = storage; }
// AlertService should have a constructor that accepts IAlertDAO. public AlertService(IAlertDAO _alertDAO) { storage = _alertDAO; }
public AlertService(IAlertDAO st) { storage = st; }
public AlertService(IAlertDAO alertDAO) { this.storage = alertDAO; }
public AlertService(IAlertDAO a) { storage = a; }
public AlertService(IAlertDAO IAlertDAO) { _alertDAO = IAlertDAO; }
public AlertService(IAlertDAO newObj) { this.obj = newObj; }