You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345678910111213141516 |
- using System.Web.Http;
- using iiie.Logs.DataAccess;
-
- namespace iiie.WebApiUtils.BusinessManager
- {
- public static class WebApiUtils
- {
- public static void Config()
- {
- Logger.Config();
- GlobalConfiguration.Configuration.Filters.Add(new ExceptionLoggerAttribute());
- GlobalConfiguration.Configuration.Filters.Add(new CheckModelForNullAttribute());
- GlobalConfiguration.Configuration.Filters.Add(new ValidateModelStateAttribute());
- }
- }
- }
|