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