My current model to store a specific vendors currency is show below where the VendorCurrency value will be like "en-US" or "en-CA" and so forth.
Currently I am using the tag in the Web.Config which sets the default currency globally but the requirement to make the site multi-currency has come about.
Is there a simple way to use the model to determine which currency to use on the fly in Views?
Vendor:
public string VendorID { get; set; }
[Required]
[StringLength(100)]
[Display(Name = "Vendor Name")]
public string VendorName { get; set; }
[StringLength(50)]
public string VendorCurrency { get; set; }
Invoice:
public string Invoice_Number { get; set; }
public int VendorID {get;set;}
[DataType(DataType.Currency)]
public decimal? Invoice_Amount { get; set; }