Example #1
0
 public List <tf_investimento_RF> Post([FromBody] tf_investimento_RF value)
 {
     try
     {
         return(new RendaFixa().Obtem(value.id_instituicao));
     }
     catch (Exception e)
     {
         ErroHandler.Log("InvestimentoRF_AdicionarController", e, "POST", "");
         throw e;
     }
 }
Example #2
0
 public void Post([FromBody] tf_investimento_RF value)
 {
     try
     {
         new RendaFixa().Exclui(value.id);
     }
     catch (Exception e)
     {
         ErroHandler.Log("InvestimentoRF_DeletaController", e, "POST", "");
         throw e;
     }
 }
Example #3
0
 public List <tf_investimento_RF_aporte> Post([FromBody] tf_investimento_RF value)
 {
     try
     {
         return(new RendaFixa().ObtemAporte((int)value.id));
     }
     catch (Exception e)
     {
         ErroHandler.Log("Aporte_ObtemController", e, "POST", "");
         throw e;
     }
 }
Example #4
0
 public bool Post([FromBody] tf_investimento_RF value)
 {
     try
     {
         new RendaFixa().Cria(value);
         return(true);
     }
     catch (Exception e)
     {
         ErroHandler.Log("InvestimentoRF_AdicionarController", e, "POST", "");
         throw e;
     }
 }