public JsonResult CreateIndividual(Individual Individual)
 {
     System.Diagnostics.StackFrame stackFrame = new System.Diagnostics.StackFrame();
     System.Reflection.MethodBase methodBase = stackFrame.GetMethod();
     log.Debug("Start: " + methodBase.Name);
     try
     {
         Int32 returnValue = 0;
         int checkSession = UserLogin.AuthenticateRequest();
         if (checkSession == 0)
         {
             return Json(returnValue);
         }
         else
         {
             int createdBy = Convert.ToInt32(Session["UserID"]);
             //var data = new Individual
             //{
             //    ID = ID,
             //    Name = Name,
             //    Nationality = Nationality,
             //    SingaporePR = SingaporePR,
             //    Passport = Passport,
             //    NRICExpiryDate = NRICExpiryDate,
             //    DateOfBirth = DateOfBirth,
             //    NricFinNo = NricFinNo,
             //    AccPacCode = AccPacCode,
             //    AddressLine1 = AddressLine1,
             //    AddressLine2 = AddressLine2,
             //    AddressLine3 = AddressLine3,
             //    Country = Country,
             //    PostalCode = PostalCode,
             //    Occupation = Occupation,
             //    Email = Email,
             //    ContactNo = ContactNo,
             //    Fax = Fax,
             //    CreatedBy = createdBy
             //};
             Individual.CreatedBy = createdBy;
             int result = Individual.InsertIndividual();
             return Json(result);
         }
     }
     catch (Exception ex)
     {
         log.Error("Error: " + ex);
         return Json("");
     }
     finally
     {
         log.Debug("End: " + methodBase.Name);
     }
 }