yangle
2022-10-19 7f15f2efc5dcf98a3b46cb156db24b71cb45e9df
1
2
3
4
5
6
7
8
9
10
11
12
13
using System.Web;
using System.Web.Mvc;
 
namespace WebAPI
{
    public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            filters.Add(new HandleErrorAttribute());
        }
    }
}