CourseWorkElectronicsShop/ElectronicsShop/ElectronicsShopResrAPI/Controllers/EmployeeController.cs
2024-05-25 17:47:14 +04:00

34 lines
677 B
C#

using ElectronicsShopContracts.BindingModels;
using ElectronicsShopContracts.ViewModels;
using Microsoft.AspNetCore.Mvc;
namespace ElectronicsShopRestAPI.Controllers {
[Route("api/[controller]/[action]")]
[ApiController]
public class EmployeeController : Controller {
private readonly ILogger _logger;
public EmployeeController(ILogger<EmployeeController> logger) {
_logger = logger;
}
[HttpGet]
public EmployeeViewModel? Login(string login, string password) {
return null;
}
[HttpPost]
public void Register(EmployeeBindingModel model) {
return;
}
[HttpPost]
public void UpdateData(EmployeeBindingModel model) {
return;
}
}
}