public async Task <IActionResult> GetItemModel(Guid itemId) { try { ItemModel result = await analyticsRepo.GetItemModel(itemId); return(Ok(result)); } catch (Exception ex) { return(BadRequest(ex.InnerException.Message)); } }
public async Task <IActionResult> GetItemModel(Guid itemId) { try { ItemModel result = await analyticsRepo.GetItemModel(itemId); return(Ok(result)); } catch (Exception ex) { return(BadRequest(ex.InnerException.Message)); } }