public async Task <IHttpActionResult> LoadEdition(string id) { var edition = await _service.GetByIdAsync(id); var viewModel = new EditionViewModel(edition); return(Ok(viewModel)); }
public async Task <IHttpActionResult> LoadEdition(string id) { var edition = await _service.GetByIdAsync(id); var viewModel = new EditionViewModel(edition); return(Ok(viewModel)); }