/// <summary>
        /// Update catalog attributes of a category
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public ActionResult UpdateServiceCategory(int id)
        {
            ServiceRequestCategoryModel model = new ServiceRequestCategoryModel();

            try
            {
                model.Category    = _portfolioService.GetServiceOptionCategory(UserId, id);              //get data for back links
                model.ServiceName = _portfolioService.GetService(model.Category.ServiceId).Name;
                model.ServiceId   = model.Category.ServiceId;
            }
            catch (Exception exception)
            {
                TempData["MessageType"] = WebMessageType.Failure;
                TempData["Message"]     = exception.Message;
            }
            return(View(model));
        }
        /// <summary>
        /// show details of an option category
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public ActionResult ShowOptionCategory(int id)
        {
            var model = new ServiceRequestCategoryModel();

            try
            {
                model.Category    = _portfolioService.GetServiceOptionCategory(UserId, id);
                model.ServiceId   = model.Category.ServiceId;
                model.ServiceName = _portfolioService.GetService(model.ServiceId).Name;
            }
            catch (Exception exception)
            {
                TempData["MessageType"] = WebMessageType.Failure;
                TempData["Message"]     = $"Failed to retrieve category {exception.Message}";
            }
            return(View("ShowServiceOptionCategory", model));
        }