public IActionResult GetAllMessages() { var response = new SampleResponse(); response.AddNotification(_messageManager.GetMessage("AccountDoesntExists").GetNotification()); response.AddNotification(_messageManager.GetMessage("AccountAmountNotTheSame").FormatValue("BRL", "EUR").GetNotification(true)); response.AddNotification(_messageManager.GetMessage("AccountCurrencyDifferentCompensationCurrency").FormatValue("BRL", "USD").GetNotification()); return(Ok(response)); }
public IActionResult GetMessage002() { var response = new SampleResponse(); response.AddNotification(_messageManager.GetMessage("AccountAmountNotTheSame").FormatValue("BRL", "EUR").GetNotification(true)); return(Ok(response)); }
public IActionResult GetMessage001() { var response = new SampleResponse(); response.AddNotification(_messageManager.GetMessage("AccountDoesntExists").GetNotification()); return(Ok(response)); }