YL
2021-06-04 0b521ab6740735120ef2b4459ec3e47f83eb3a3d
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());
        }
    }
}