public async Task<ActionResult<Skill>> Post(Skill item) { _context.Skills.Add(item); await _context.SaveChangesAsync(); return CreatedAtAction(nameof(Get), new { id = item.Id }, item); }
public async Task <ActionResult <Opportunity> > Post(Opportunity item) { _context.Opportunities.Add(item); await _context.SaveChangesAsync(); return(CreatedAtAction(nameof(Get), new { id = item.Id }, item)); }