public string editTurn(UpdateTurn updatedData)
        {
            bool isSucceeded = _haircutTurnsRepo.updateTurnByDate(Convert.ToDateTime(updatedData.ArrivalDate), updatedData.TurnId);

            if (isSucceeded)
            {
                var res = new
                {
                    successMsg = "Your turn been edited successfully",
                };
                return(JsonConvert.SerializeObject(res));
            }
            else
            {
                var res = new
                {
                    errMsg = "Temporary problem occured. Try again"
                };
                return(JsonConvert.SerializeObject(res));
            }
        }
        public IActionResult EditTurn(UpdateTurn updateData)
        {
            var res = _haircutTurnService.editTurn(updateData);

            return(Ok(res));
        }