public DbResponse SelectedChange(OrderCartSelectChangeModel model) { try { return(_db.OrderCart.SelectedChange(model)); } catch (Exception e) { return(new DbResponse(false, $"{e.Message}. {e.InnerException?.Message ?? ""}")); } }
public IActionResult SetSelectedProduct(OrderCartSelectChangeModel model) { var response = _orderCartCore.SelectedChange(model); return(Json(response)); }