hi in asp.net web API I have been used message handlers to map all API responses to a custom class for example:
public class ResponseModel
{
public object Result { get; set; }
public int ResultCode{ get; set; }
public string Version { get; set; }
}
what is the equivalent in aspnet core?