Beispiel #1
0
 public AlertDAO(BSNSContext db, IFriendDAO friendDAO, IUserSession userSession)
 {
     _db              = db;
     this.friendDAO   = friendDAO;
     this.userSession = userSession;
     //this.accountDAO = accountDAO;
 }
Beispiel #2
0
 public AlertService(BSNSContext db, IFriendDAO friendDAO, IUserSession userSession, IAlertDAO alertDAO)
 {
     _db              = db;
     this.friendDAO   = friendDAO;
     this.userSession = userSession;
     this.alertDAO    = alertDAO;
 }
Beispiel #3
0
 public AdminController(IAccountDAO accountDAO, IUserSession userSession, IAccountPermissionDAO accountPermissionDAO, IProfileDAO profileDAO, IFriendDAO friendDAO, IAlertService alertService)
 {
     this.accountDAO           = accountDAO;
     this.userSession          = userSession;
     this.accountPermissionDAO = accountPermissionDAO;
     this.profileDAO           = profileDAO;
     this.friendDAO            = friendDAO;
     this.alertService         = alertService;
 }
Beispiel #4
0
 public FriendController(IAccountDAO accountDAO, IProfileDAO profileDAO, IFriendDAO friendDAO, IFriendInvitationDAO friendInvitationDAO, IEmail emails, IUserSession userSession, ISessionWrapper sessionWrapper, Account _account, Account _accountToInvite)
 {
     this.accountDAO          = accountDAO;
     this.profileDAO          = profileDAO;
     this.friendDAO           = friendDAO;
     this.friendInvitationDAO = friendInvitationDAO;
     this.emails           = emails;
     this.userSession      = userSession;
     this.sessionWrapper   = sessionWrapper;
     this._account         = _account;
     this._accountToInvite = _accountToInvite;
 }
 public ProfileController(IFriendDAO friendDAO, IFriendInvitationDAO friendInvitationDAO, IAccountDAO accountDAO, IProfileDAO profileDAO, IUserSession userSession, IJobDAO jobDAO, Profile profile, IAccountPermissionDAO accountPermissionDAO, IAlertService alertService)
 {
     this.friendDAO           = friendDAO;
     this.friendInvitationDAO = friendInvitationDAO;
     this.accountDAO          = accountDAO;
     this.profileDAO          = profileDAO;
     this.userSession         = userSession;
     this.jobDAO  = jobDAO;
     this.profile = profile;
     this.accountPermissionDAO = accountPermissionDAO;
     this.alertService         = alertService;
 }