public UserService( IDtoMapper <User, CreateUser> regiserUserMapper, IDtoMapper <User, LoginDto> userDtoToUserMapper, IDtoMapper <LoginResponse, User> userToLoginResponseMapper, ISaveUser createUser, IUserAuthentication userAuthentication, IMakeFriendship makeFriendship, INameGenerate nameGenerate, IUserRepository userRepository, IUnityOfWork unityOfWork) { this.regiserUserMapper = regiserUserMapper; this.createUser = createUser; this.userToLoginResponseMapper = userToLoginResponseMapper; this.userDtoToUserMapper = userDtoToUserMapper; this.userAuthentication = userAuthentication; this.makeFriendship = makeFriendship; this.nameGenerate = nameGenerate; this.unityOfWork = unityOfWork; this.userRepository = userRepository; }
public SaveUserCredentials(string connStr) { saveUser = new SaveUser(connStr); }