using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;

namespace XF.Domain.Filters
{
    //public class OpenResponse<TValue> : OpenResponse
    //{
    //    public TValue Value { get; set; }

    //    public static OpenResponse<TValue> Ok(TValue value) =>
    //        new() { Value = value };
    //}

    public class OpenResponse
    {
        public object Value { get; set; }

        public static OpenResponse Ok(object value) =>
            new() { Value = value };
    }
}
