示例#1
0
 private IActionResult GetUnavailableService(ProviderNotResponseException exProv, GeneralDto info)
 {
     return(StatusCode(StatusCodes.Status503ServiceUnavailable, string.Format(exProv.Message, info.InformationProvider.IdProvider, info.InformationProvider.ProviderName)));
 }
 private IActionResult GetUnavailableService(ProviderNotResponseException exProv)
 {
     return(StatusCode(StatusCodes.Status503ServiceUnavailable, exProv.Message));
 }