using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace MP_API.Controllers { public class slogEnabController : ApiController { // GET api/slog public IEnumerable Get() { return new string[] { "1020: YES", "1021: NO", "1022: YES" }; } // GET api/slog/5 public string Get(int id) { return id.ToString() + "???"; } // POST api/slog public void Post([FromBody]string value) { } // PUT api/slog/5 public void Put(int id, [FromBody]string value) { } // DELETE api/slog/5 public void Delete(int id) { } } }