public static int UpdateCurrency(tCurrency currency) { try { return(AccountingDataProvider.UpdateCurrency(currency)); } catch (Exception exception) { throw new Exception(exception.Message); } }