public bool SaveBomFormatDetail([FromBody] RData data) //int HeaderId, [FromBody]List<BomFormatDetail> Dtls
        {
            var result = Service.SaveBomFormatDetail(data.HeaderId, data.Dtls);

            return(result);
        }