34 lines
677 B
C#
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;
|
|
}
|
|
}
|
|
}
|