private bool CanReportPicture(ReportContentData data)
 {
     return(picture != null && ApplicationStateService.HasUserRole(UserRole.USER));
 }
 private bool CanSetPictureApproval(UserApprovalModifier modifier)
 {
     return(picture != null && ApplicationStateService.HasUserRole(UserRole.USER));
 }
 private bool CanRepostPicture()
 {
     return(picture != null && ApplicationStateService.HasUserRole(UserRole.USER));
 }
Пример #4
0
 private bool CanReportComment(Guid commentId)
 {
     return(ApplicationStateService.HasUserRole(UserRole.USER));
 }
Пример #5
0
 private bool CanPostComment()
 {
     return(NewComment != null && ApplicationStateService.HasUserRole(UserRole.USER));
 }
Пример #6
0
 private bool CanCreateComment()
 {
     return(mediaUri != null && ApplicationStateService.HasUserRole(UserRole.USER));
 }