Computer_Hardware_Store/HardwareShop/HardwareShopRestApi/Controllers/PurchaseController.cs

28 lines
736 B
C#
Raw Normal View History

2023-05-15 19:26:52 +04:00
using HardwareShopContracts.BindingModels;
using HardwareShopContracts.BusinessLogicsContracts;
using HardwareShopContracts.SearchModels;
using HardwareShopContracts.ViewModels;
using HardwareShopRestApi.Controllers;
2023-05-15 19:26:52 +04:00
using Microsoft.AspNetCore.Mvc;
using System.Xml.Linq;
2023-05-15 19:26:52 +04:00
namespace HardwareShopRestApi.Controllers
{
[Route("api/[controller]/[action]")]
[ApiController]
public class PurchaseController : Controller
2023-05-15 19:26:52 +04:00
{
private readonly ILogger _logger;
private readonly IPurchaseLogic _purchaseLogic;
2023-05-15 19:26:52 +04:00
public PurchaseController(IPurchaseLogic purchaseLogic, ILogger<UserController> logger)
2023-05-15 19:26:52 +04:00
{
_logger = logger;
_purchaseLogic = purchaseLogic;
2023-05-15 19:26:52 +04:00
}
}
}