Ласт коммит
This commit is contained in:
parent
52ce619788
commit
fda82f22ce
@ -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;
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user