Example #1
0
        public async Task <ActionResult <Component> > InsertComponent([FromBody] Component component)
        {
            var result = await _repository.InsertComponent(component);

            return(Ok($"New record  ID: " + result.ID.ToString()));
        }