summaryrefslogtreecommitdiff
path: root/external/aspnetwebstack/test/System.Web.Http.Integration.Test/Authentication/SampleController.cs
blob: 26b12c2edf30731ae9058e414ad726163ad54dcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.

namespace System.Web.Http
{
    /// <summary>
    /// Sample ApiControler
    /// </summary>
    public class SampleController : ApiController
    {
        [RequireAdmin]
        public string Get()
        {
            return "hello";
        }
    }
}