public DesignTimeSupplierEditViewModel()
 {
     ViewData = new SupplierEditViewData()
     {
         SupplierID = 1,
         SupplierName = "John Doe",
         City = "Odense",
         CompanyAddress = "we know ya momma",
         Email = "*****@*****.**",
         Fax = "nop fax",
         TelephoneNumber = "No number",
         ZipCode = "5200"
     };
 }
 public void DeleteSupplier(SupplierEditViewData data)
 {
     Supplier sup = new Supplier()
     {
         SupplierID = data.SupplierID,
         SupplierName = data.SupplierName,
         City = data.City,
         CompanyAddress = data.CompanyAddress,
         Email = data.Email,
         Fax = data.Fax,
         TelephoneNumber = data.TelephoneNumber,
         ZipCode = data.ZipCode
     };
     supRep.DeleteSupplier(sup);
     context_db.SaveChanges();
     Messenger.NotifyColleagues(MessageTypes.MSG_SUPPLIER_DELETED, data);
 }