This commit is contained in:
DyCTaTOR 2024-02-27 16:18:37 +04:00
parent 1a62aada4f
commit ccef292353

View File

@ -51,7 +51,7 @@ namespace PlumbingRepairBusinessLogic.BusinessLogics
_logger.LogInformation("ReadElement find. Id:{Id}", element.Id); _logger.LogInformation("ReadElement find. Id:{Id}", element.Id);
return element; return element;
} }
public bool Create(OrderBindingModel model) public bool CreateOrder(OrderBindingModel model)
{ {
CheckModel(model); CheckModel(model);
if (_orderStorage.Insert(model) == null) if (_orderStorage.Insert(model) == null)