public IHttpActionResult Post([FromBody] TechnologyDto technology) { int createdId = _service.Post(technology); return(CreatedAtRoute("GetTechnologyById", new { id = createdId }, technology)); }
public IHttpActionResult Post([FromBody] TechnologyDto technology) { int createdId = _service.Post(technology); return(CreatedAtRoute("GetTechnologyById", new { id = createdId }, technology)); }