Method | Description | |
---|---|---|
IsUserPhotoOwner ( string userRegistration, string photoId ) : Task |
Validates that the current user owns a photo.
|
|
PhotoValidation ( IRepository repository ) : System |
The constructor for creating a new PhotoValidation instance
|
public IsUserPhotoOwner ( string userRegistration, string photoId ) : Task |
||
userRegistration | string | Account string value from mobile service auth. |
photoId | string | Id of photo to validate. |
return | Task |
public PhotoValidation ( IRepository repository ) : System | ||
repository | IRepository | Data layer. |
return | System |