public void Put(int itensCartaCoberturaId, [FromBody] ItensCartaCoberturaModel itensCartaCobertura) { try { ItensCartaCoberturaService.Put(itensCartaCoberturaId, itensCartaCobertura); } catch (Exception) { throw; } }
public ItensCartaCoberturaModel Post([FromBody] ItensCartaCoberturaModel itensCartaCobertura) { try { return(ItensCartaCoberturaService.Post(itensCartaCobertura)); } catch (Exception) { throw; } }