public async Task <ActionResult> UpdatePrices([FromBody] BarberPricesModel model)
        {
            if (ModelState.ErrorCount > 0)
            {
                throw new AppException("Please check your input and try again!");
            }

            await _barberService.UpdatePrices(model);

            return(Ok());
        }
        public async Task UpdatePrices(BarberPricesModel model)
        {
            var updatePricesQuery =
                @"
                UPDATE Barbers
                SET HPrice = @_h_price,
                    BPrice = @_b_price,
                    HBPrice = @_hb_price
                WHERE Gd = @_barber_gd
            ";

            await PutQuery(updatePricesQuery, new
            {
                _h_price   = model.HPrice,
                _b_price   = model.BPrice,
                _hb_price  = model.HBPrice,
                _barber_gd = model.BarberGd
            });
        }