public async Task <IActionResult> Put(int id, [FromBody] E6ViewModel e6) { await _service.UpdateAsync(id, e6); return(Ok()); }
public async Task <IActionResult> Post([FromBody] E6ViewModel e6) { await _service.CreateAsync(e6); return(Ok()); }