public async Task <IActionResult> UpdateMenuCateogryAsync(long id, [FromBody] CategoryModel model)
        {
            if (!ModelState.IsValid)
            {
                return(StatusCode((int)HttpStatusCode.InternalServerError, GetErrorList(ModelState)));
            }

            MenuCategories existingMenuCategory;

            try
            {
                People currentUser = GetCurrentUser();
                existingMenuCategory = await Services.UpdateMenuCategoryAsync(currentUser.ThePersonAsEmployer.Id,
                                                                              model.RestaurantId, id, model.GetNameDictionary(), model.GetDescriptionDictionary());
            }
            catch (Exception ex)
            {
                return(StatusCode((int)HttpStatusCode.InternalServerError, GetErrorList(ex)));
            }

            return(Ok(existingMenuCategory));
        }