FacebookTokenManager _tokenMng;//TODO use interface public FacebookUserManager(ITokenMng tokenMng) { _facebookUserService = new FacebookUserService(); _registerService = new RegisterService(); _checkLogin = new CheckLogin(); _tokenMng = new FacebookTokenManager();//TODO use interface }
public UserManager(ITokenMng tokenMng) { _userService = new UserService(); _registerService = new RegisterService(); _checkLogin = new CheckLogin(); _tokenMng = tokenMng; }