This commit is contained in:
mmrbnjd
2024-03-30 15:10:36 +03:30
parent f4588f3426
commit a9e3afdea4
60 changed files with 1752 additions and 70 deletions

View File

@@ -0,0 +1,22 @@
using Back.Services;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Shared.DTOs;
namespace Back.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class BaseController : ControllerBase
{
private readonly ServBase _sBase;
public BaseController(ServBase sBase)
{
_sBase = sBase;
}
[HttpGet("BasePrice")]
public async Task<ActionResult<List<BasePriceDto>>> GetBasePrice()
=> Ok(await _sBase.GetBasePrice());
}
}