ProfilePicDto
Namespace: SlottyMedia.Backend.Dtos
The Profile Picture Data Transfer Object
public class ProfilePicDto
Inheritance Object → ProfilePicDto
Properties
UserId
Gets or sets the User Id.
public Guid UserId { get; set; }
Property Value
ProfilePic
Gets or sets the Profile Picture in binary.
public string ProfilePic { get; set; }
Property Value
Constructors
ProfilePicDto()
Initializes a new instance of the ProfilePicDto class.
public ProfilePicDto()
Methods
Mapper()
This method maps the ProfilePicDto to a UserDao.
public UserDao Mapper()
Returns
UserDao
Mapper(UserDao)
This method maps the UserDao to a ProfilePicDto.
public ProfilePicDto Mapper(UserDao userDao)
Parameters
userDao UserDao
Returns
ToString()
This method overrides the ToString method to return the ProfilePicDto as a string.
public string ToString()