Exemplo n.º 1
0
 //
 // GET: /Customers/Customer/DisplayCustomer
 public ActionResult DisplayCustomer()
 {
     CustomerViewModel obj = new CustomerViewModel();
     obj.TxtName = "Panoramix";
     obj.TxtAmount = "1000";
     return View(obj);
 }
 public void Validate_CustomerLevelColor_Success()
 {
     CustomerViewModel obj = new CustomerViewModel();
     obj.TxtName = "Shiv";
     obj.TxtAmount = "1000";
     Assert.Equal("yellow", obj.CustomerLevelColor);
 }