public ActionResult AddMemberCategory(string member, string category)
 {
     try
     {
         int familyId = Convert.ToInt32(HttpContext.Session["UserID"]);
         if (service.AddMemberCategory(familyId, member, category))
         {
             var urlBuilder = new UrlHelper(Request.RequestContext);
             var url        = urlBuilder.Action("AddMemberCategory", "FamilyMap", "Get");
             return(Json(new { status = "success" }));
         }
         return(Json(new { status = "error", message = "Something went wrong!!!!" }));
     }
     catch (Exception exception)
     {
         return(RedirectToAction("ExceptionPage", new { message = exception.Message }));
     }
 }