lab-7-hard preraring for pr
This commit is contained in:
parent
ac978a60c4
commit
24948c52d1
@ -119,7 +119,7 @@ namespace BlacksmithWorkshopBusinessLogic.BusinessLogics
|
||||
_logger.LogWarning("Status update to " + status.ToString() + " operation failed. Document not found.");
|
||||
return false;
|
||||
}
|
||||
if (CheckSupply(manufacture, element.Count) == false)
|
||||
if (!CheckSupply(manufacture, element.Count))
|
||||
{
|
||||
_logger.LogWarning("Status update to " + status.ToString() + " operation failed. Shop supply error.");
|
||||
status = OrderStatus.Ожидает;
|
||||
|
@ -57,7 +57,7 @@ namespace BlacksmithWorkshopRestApi.Controllers
|
||||
}
|
||||
}
|
||||
[HttpGet]
|
||||
public List<MessageInfoViewModel>? GetMessages(int clientId, int page, int pagesize = 1)
|
||||
public List<MessageInfoViewModel>? GetMessages(int clientId, int page, int pagesize = 3)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user