protected new IActionResult Response(object result = null) { if (OperacaoValida()) { return(Ok(new { success = true, data = result })); } return(BadRequest(new { success = false, errors = _Notifications.GetNotificatios().Select(n => n.Value) })); }
protected new IActionResult Response(object result = null) { if (OperacaoValida()) { return(Ok(new { success = true, data = result })); } return(BadRequest(new { success = false, errors = _Notifications.GetNotificatios().Select(n => n.Value) })); }