def to_scope(model):
    """
    Make dict of scopes for give model
    """
    model_name = model.__name__
    return {
        'GET': f'%s.View' % model_name,
        'POST': f'%s.Create' % model_name,
        'PATCH': f'%s.Update' % model_name,
        'DELETE': f'%s.Delete' % model_name
    }