Fix warnings

This commit is contained in:
dsanz 2017-04-06 11:59:11 +02:00
parent 51359dea94
commit edd72d2160
3 changed files with 1 additions and 3 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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");
}