예제 #1
0
        public async Task <IActionResult> Put(int id, [FromBody] E6ViewModel e6)
        {
            await _service.UpdateAsync(id, e6);

            return(Ok());
        }
예제 #2
0
        public async Task <IActionResult> Post([FromBody] E6ViewModel e6)
        {
            await _service.CreateAsync(e6);

            return(Ok());
        }