public Inventory_CurrencyMaster GetCurrencyDetailsByCurrency(string Currency) { try { if (!string.IsNullOrEmpty(Currency)) { return(mbc.GetCurrencyDetailsByCurrency(Currency)); } else { throw new Exception("Currency is required and it cannot be null or empty."); } } catch (Exception ex) { throw ex; } finally { } }