2017-01-06 10:02:36 -05:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Net;
|
|
|
|
|
using System.Net.Http;
|
|
|
|
|
using System.Web.Http;
|
|
|
|
|
using System.Web.Http.Cors;
|
|
|
|
|
|
2017-04-02 04:11:35 -04:00
|
|
|
|
namespace securecall.Controllers
|
2017-01-06 10:02:36 -05:00
|
|
|
|
{
|
|
|
|
|
public class ItemController : ApiController
|
|
|
|
|
{
|
|
|
|
|
[Authorize]
|
2017-04-02 04:11:35 -04:00
|
|
|
|
[EnableCors("*", "*", "*")]
|
2017-01-06 10:02:36 -05:00
|
|
|
|
public HttpResponseMessage Get()
|
|
|
|
|
{
|
2017-04-02 04:11:35 -04:00
|
|
|
|
return Request.CreateResponse(HttpStatusCode.OK, "Successful Call");
|
2017-01-06 10:02:36 -05:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|