2 using System.Collections.Generic;
4 using System.Threading.Tasks;
5 using Microsoft.AspNetCore.Mvc;
7 namespace PdfService.Controllers
9 [Route("api/[controller]")]
11 public class ValuesController : ControllerBase
15 public ActionResult<IEnumerable<string>> Get()
17 return new string[] { "value1", "value2" };
22 public ActionResult<string> Get(int id)
29 public void Post([FromBody] string value)
35 public void Put(int id, [FromBody] string value)
39 // DELETE api/values/5
41 public void Delete(int id)