Пример #1
0
 public IActionResult Index()
 {
     _notificationSender.SendOrderNotification(new OrderViewModel {
         Name    = "super name",
         Phone   = "my phone",
         Comment = "long comment",
         Email   = "*****@*****.**"
     });
     return(View());
 }