47 lines
787 B
C#
47 lines
787 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Net;
|
|
using System.Net.Http;
|
|
using System.Web.Http;
|
|
using Newtonsoft.Json;
|
|
using SteamWare;
|
|
using System.IO;
|
|
using System.Web;
|
|
|
|
namespace NKC_WF.Controllers
|
|
{
|
|
public class PrintController : ApiController
|
|
{
|
|
// GET: api/Print
|
|
public IEnumerable<string> Get()
|
|
{
|
|
return new string[] { "value1", "value2" };
|
|
}
|
|
|
|
// GET: api/Print/5
|
|
public string Get(string id)
|
|
{
|
|
return $"requested id is {id}";
|
|
}
|
|
|
|
#if false
|
|
// POST: api/Print
|
|
public void Post([FromBody]string value)
|
|
{
|
|
}
|
|
|
|
// PUT: api/Print/5
|
|
public void Put(int id, [FromBody]string value)
|
|
{
|
|
}
|
|
|
|
// DELETE: api/Print/5
|
|
public void Delete(int id)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
}
|
|
}
|