refacts
This commit is contained in:
parent
90b60cb58c
commit
acff3b72b6
8 changed files with 68 additions and 66 deletions
|
|
@ -89,10 +89,12 @@ namespace Yavsc.Controllers
|
|||
paymentOk = true;
|
||||
command.ValidationDate = DateTime.Now;
|
||||
}
|
||||
else _logger.LogError
|
||||
("This Command were yet validated, and is now paied one more ...");
|
||||
}
|
||||
await _context.SaveChangesAsync(User.GetUserId());
|
||||
SetViewBagPaymentUrls(id);
|
||||
if (command.PerformerProfile.AcceptPublicContact && paymentOk)
|
||||
if (paymentOk)
|
||||
{
|
||||
MessageWithPayloadResponse grep = null;
|
||||
var yaev = command.CreatePaymentEvent(paymentInfo, _localizer);
|
||||
|
|
@ -118,10 +120,6 @@ namespace Yavsc.Controllers
|
|||
yaev.CreateBody()
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
// TODO if (AcceptProContact) try & find a bookmaker to send him this query
|
||||
}
|
||||
|
||||
ViewData["Notify"] = new List<Notification> {
|
||||
new Notification {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue