示例#1
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;
 }
示例#2
0
 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;
 }