public IActionResult Addrate(registrotasa add) { try { financial.Addrate(add); return(Ok()); } catch (Exception ex) { return(BadRequest(ex.Message)); } }