Ласт коммит

This commit is contained in:
Artyom_Yashin 2024-05-27 05:49:12 +04:00
parent 52ce619788
commit fda82f22ce

View File

@ -81,16 +81,7 @@ namespace BankBusinessLogic.BusinessLogic
}
return true;
}
//todo методы смены статуса
//public bool DeclineRequest(RequestBindingModel model)
//{
// return ChangeStatus(model, RequestStatus.Отклонена);
//}
//public bool SatisfyRequest(RequestBindingModel model)
//{
// return ChangeStatus(model, RequestStatus.Выполнена);
//}
private void CheckModel(RequestBindingModel model, bool withParams = true)
{
if (model == null)
@ -102,12 +93,5 @@ namespace BankBusinessLogic.BusinessLogic
_logger.LogInformation("Request. Sum:{Sum}. Id: { Id} ", model.Sum, model.Id);
}
//private bool ChangeStatus(RequestBindingModel model, RequestStatus status)
//{
// //todo поменять
// model.Status = status;
// _requestStorage.Update(model);
// return true;
//}
}
}