Exemplo n.º 1
0
 public void Update(TechnologyDto technology)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 2
0
        public IHttpActionResult Post([FromBody] TechnologyDto technology)
        {
            int createdId = _service.Post(technology);

            return(CreatedAtRoute("GetTechnologyById", new { id = createdId }, technology));
        }
Exemplo n.º 3
0
 public int Post(TechnologyDto technology)
 {
     return(_repository.Add(technology));
 }