예제 #1
0
 public List <tf_investimento_RF_variacao> Post([FromBody] tf_investimento_RF_variacao value)
 {
     try
     {
         return(new RendaFixa().ObtemRegistro((int)value.id));
     }
     catch (Exception e)
     {
         ErroHandler.Log("Variacao_ObtemController", e, "POST", "");
         throw e;
     }
 }
 public bool Post([FromBody] tf_investimento_RF_variacao value)
 {
     try
     {
         new RendaFixa().Registra(value);
         return(true);
     }
     catch (Exception e)
     {
         ErroHandler.Log("Variacao_AdicionarController", e, "POST", "");
         throw e;
     }
 }