@ -7,7 +7,7 @@ using Microsoft.AspNetCore.Mvc;
namespace OSI.API.Controllers
{
[Route("api/[controller]")]
[Route("api/v{version:apiVersion}/[controller]")]
[ApiController]
public class ClientsController : ControllerBase
@ -19,7 +19,7 @@ namespace OSI.API.Controllers
}
// GET: api/Clients/5
[HttpGet("{id}", Name = "Get")]
[HttpGet("{id}")]
public string Get(int id)
return "value";
public class ExpensesController : ControllerBase
// GET: api/Expenses/5
public class InvoicesController : ControllerBase
// GET: api/Invoices/5
public class POsController : ControllerBase
// GET: api/POs/5
public class PaymentsController : ControllerBase
// GET: api/Payments/5
public class ReportsController : ControllerBase
// GET: api/Reports/5
public class UsersController : ControllerBase
// GET: api/Users/5