C# 클래스 Membership.Service.UserMembershipService

상속: IUserMembershipService
파일 보기 프로젝트 열기: serdarb/Membership-Service

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
AddAddress ( AddressDto dto ) : int

The add address.

AddPhone ( PhoneDto dto ) : bool
AuthUser ( string userName, string passwordHash ) : bool

The auth user.

ChangePassword ( string email, string newPasswordHash ) : bool

The change password for user.

CreateUser ( UserDto dto ) : int

The create user.

DeleteAddress ( AddressDto dto ) : bool
DeletePhone ( PhoneDto dto ) : bool
DeleteUser ( string email ) : bool

The delete user.

DoesUserEmailExists ( string email ) : bool

The does user email exists.

GetAddressById ( int id ) : AddressDto
GetAddresses ( string email ) : List
GetAddressesByUserId ( int id ) : List
GetPhones ( string email ) : List
GetPhonesByUserId ( int id ) : List
GetTopXByPoint ( int count ) : List

Gets from db.

GetTopXByPointWithUser ( int count, string email ) : PointTableDto

Gets from Dictionary Cache.

GetUser ( string email ) : UserDto

The get user. Give the users email and get the dto.

GetUserByFacebookId ( string fid ) : UserDto
GetUserById ( int id ) : UserDto
GetUserEmailById ( int id ) : string
GetUserIdByEmail ( string email ) : int
InviteSucceeded ( string refererUserEmail, string invitedEmail ) : bool
InviteUser ( string refererUserEmail, string invitedEmail ) : bool
IsPasswordResetRequestValid ( string email, string guid ) : bool
RequestPasswordReset ( string email ) : bool

The request password reset for user.

UpdateAddress ( AddressDto dto ) : bool
UpdatePhone ( PhoneDto dto ) : bool
UpdateUser ( UserDto dto ) : bool
UpdateUserBirthday ( string email, System.DateTime birthday ) : bool
UpdateUserEmail ( string oldEmail, string newEmail ) : bool
UpdateUserNames ( string email, string newNames ) : bool
UpdateUserPassword ( string email, string newPassword ) : bool
UpdateUserPhone ( string email, string oldPhone, string newPhone ) : bool
UpdateUserPoint ( PointHistoryDto dto ) : bool
UserMembershipService ( ) : System

메소드 상세

AddAddress() 공개 메소드

The add address.
///
public AddAddress ( AddressDto dto ) : int
dto Membership.Contract.AddressDto /// The dto. ///
리턴 int

AddPhone() 공개 메소드

public AddPhone ( PhoneDto dto ) : bool
dto Membership.Contract.PhoneDto
리턴 bool

AuthUser() 공개 메소드

The auth user.
public AuthUser ( string userName, string passwordHash ) : bool
userName string /// The user name. ///
passwordHash string /// The password hash. ///
리턴 bool

ChangePassword() 공개 메소드

The change password for user.
public ChangePassword ( string email, string newPasswordHash ) : bool
email string /// The email. ///
newPasswordHash string /// The new password hash. ///
리턴 bool

CreateUser() 공개 메소드

The create user.
public CreateUser ( UserDto dto ) : int
dto Membership.Contract.UserDto /// The userDto. ///
리턴 int

DeleteAddress() 공개 메소드

public DeleteAddress ( AddressDto dto ) : bool
dto Membership.Contract.AddressDto
리턴 bool

DeletePhone() 공개 메소드

public DeletePhone ( PhoneDto dto ) : bool
dto Membership.Contract.PhoneDto
리턴 bool

DeleteUser() 공개 메소드

The delete user.
public DeleteUser ( string email ) : bool
email string /// The email. ///
리턴 bool

DoesUserEmailExists() 공개 메소드

The does user email exists.
public DoesUserEmailExists ( string email ) : bool
email string /// The email. ///
리턴 bool

GetAddressById() 공개 메소드

public GetAddressById ( int id ) : AddressDto
id int
리턴 Membership.Contract.AddressDto

GetAddresses() 공개 메소드

public GetAddresses ( string email ) : List
email string
리턴 List

GetAddressesByUserId() 공개 메소드

public GetAddressesByUserId ( int id ) : List
id int
리턴 List

GetPhones() 공개 메소드

public GetPhones ( string email ) : List
email string
리턴 List

GetPhonesByUserId() 공개 메소드

public GetPhonesByUserId ( int id ) : List
id int
리턴 List

GetTopXByPoint() 공개 메소드

Gets from db.
public GetTopXByPoint ( int count ) : List
count int
리턴 List

GetTopXByPointWithUser() 공개 메소드

Gets from Dictionary Cache.
public GetTopXByPointWithUser ( int count, string email ) : PointTableDto
count int
email string
리턴 Membership.Contract.PointTableDto

GetUser() 공개 메소드

The get user. Give the users email and get the dto.
public GetUser ( string email ) : UserDto
email string /// The user's email. ///
리턴 Membership.Contract.UserDto

GetUserByFacebookId() 공개 메소드

public GetUserByFacebookId ( string fid ) : UserDto
fid string
리턴 Membership.Contract.UserDto

GetUserById() 공개 메소드

public GetUserById ( int id ) : UserDto
id int
리턴 Membership.Contract.UserDto

GetUserEmailById() 공개 메소드

public GetUserEmailById ( int id ) : string
id int
리턴 string

GetUserIdByEmail() 공개 메소드

public GetUserIdByEmail ( string email ) : int
email string
리턴 int

InviteSucceeded() 공개 메소드

public InviteSucceeded ( string refererUserEmail, string invitedEmail ) : bool
refererUserEmail string
invitedEmail string
리턴 bool

InviteUser() 공개 메소드

public InviteUser ( string refererUserEmail, string invitedEmail ) : bool
refererUserEmail string
invitedEmail string
리턴 bool

IsPasswordResetRequestValid() 공개 메소드

public IsPasswordResetRequestValid ( string email, string guid ) : bool
email string
guid string
리턴 bool

RequestPasswordReset() 공개 메소드

The request password reset for user.
public RequestPasswordReset ( string email ) : bool
email string /// The email. ///
리턴 bool

UpdateAddress() 공개 메소드

public UpdateAddress ( AddressDto dto ) : bool
dto Membership.Contract.AddressDto
리턴 bool

UpdatePhone() 공개 메소드

public UpdatePhone ( PhoneDto dto ) : bool
dto Membership.Contract.PhoneDto
리턴 bool

UpdateUser() 공개 메소드

public UpdateUser ( UserDto dto ) : bool
dto Membership.Contract.UserDto
리턴 bool

UpdateUserBirthday() 공개 메소드

public UpdateUserBirthday ( string email, System.DateTime birthday ) : bool
email string
birthday System.DateTime
리턴 bool

UpdateUserEmail() 공개 메소드

public UpdateUserEmail ( string oldEmail, string newEmail ) : bool
oldEmail string
newEmail string
리턴 bool

UpdateUserNames() 공개 메소드

public UpdateUserNames ( string email, string newNames ) : bool
email string
newNames string
리턴 bool

UpdateUserPassword() 공개 메소드

public UpdateUserPassword ( string email, string newPassword ) : bool
email string
newPassword string
리턴 bool

UpdateUserPhone() 공개 메소드

public UpdateUserPhone ( string email, string oldPhone, string newPhone ) : bool
email string
oldPhone string
newPhone string
리턴 bool

UpdateUserPoint() 공개 메소드

public UpdateUserPoint ( PointHistoryDto dto ) : bool
dto Membership.Contract.PointHistoryDto
리턴 bool

UserMembershipService() 공개 메소드

public UserMembershipService ( ) : System
리턴 System