Hi,
is it possible to add some attributes to hide properties on some properties on a response dto to be hidden if not having the correct role.
Example
[RequiredRole(Role.ApplicationAdmin)]
public Uri ImageUrl { get; set; }
public class CategoryQueryResponse
{
public int Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public string Header { get; set; }
public bool Active { get; set; }
[RequiredRole(Role.ApplicationAdmin)]
public Uri ImageUrl { get; set; }
public ResponseStatus ResponseStatus { get; set; }
}