Fix warnings
This commit is contained in:
parent
2658a69347
commit
c16941cf25
@ -7,7 +7,6 @@ namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.B
|
||||
public class PaymentMethod
|
||||
: Entity
|
||||
{
|
||||
private int _buyerId;
|
||||
private string _alias;
|
||||
private string _cardNumber;
|
||||
private string _securityNumber;
|
||||
|
@ -12,7 +12,6 @@ namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.O
|
||||
// aligned with DDD Aggregates and Domain Entities (Instead of properties and property collections)
|
||||
private string _productName;
|
||||
private string _pictureUrl;
|
||||
private int _orderId;
|
||||
private decimal _unitPrice;
|
||||
private decimal _discount;
|
||||
private int _units;
|
||||
|
@ -49,7 +49,7 @@ namespace Microsoft.eShopOnContainers.WebMVC.Controllers
|
||||
return RedirectToAction("Index");
|
||||
}
|
||||
}
|
||||
catch(BrokenCircuitException ex)
|
||||
catch(BrokenCircuitException)
|
||||
{
|
||||
ModelState.AddModelError("Error", "It was not possible to create a new order, please try later on");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user