public Query.Role Get(Guid id) { var result = _queryMapper.MapObject <Query.Role>(_queryFactory.Get(id)); result.Permissions = new List <string>(_queryMapper.MapValues <string>(_queryFactory.Permissions(id))); return(result); }
public IEnumerable <string> Available() { return(_queryMapper.MapValues <string>(_queryFactory.Available())); }
public IEnumerable <string> Roles(Guid id) { return(_queryMapper.MapValues <string>(_queryFactory.Roles(id))); }