|
|
@ -7,7 +7,7 @@ using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
|
|
|
|
|
|
|
namespace OSI.API.Controllers
|
|
|
|
namespace OSI.API.Controllers
|
|
|
|
{
|
|
|
|
{
|
|
|
|
[Route("api/[controller]")]
|
|
|
|
[Route("api/v{version:apiVersion}/[controller]")]
|
|
|
|
[ApiController]
|
|
|
|
[ApiController]
|
|
|
|
public class ExpensesController : ControllerBase
|
|
|
|
public class ExpensesController : ControllerBase
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -19,7 +19,7 @@ namespace OSI.API.Controllers
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// GET: api/Expenses/5
|
|
|
|
// GET: api/Expenses/5
|
|
|
|
[HttpGet("{id}", Name = "Get")]
|
|
|
|
[HttpGet("{id}")]
|
|
|
|
public string Get(int id)
|
|
|
|
public string Get(int id)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return "value";
|
|
|
|
return "value";
|
|
|
|