public ActionResult inputDataPelamar(TambahPelamarSplitter inputingDataPelamar)
        {
            PelamarRepositories inputDataPelamarNow = new PelamarRepositories();

            foreach (var item in inputingDataPelamar.biodataPelamar)
            {
                if (item.phone_number1 == inputDataPelamarNow.GetAll().Find(f => f.phone_number1 == item.phone_number1).phone_number1&& item.email == inputDataPelamarNow.GetAll().Find(f => f.email == item.email).email&& item.identity_type_id == inputDataPelamarNow.GetAll().Find(f => f.identity_type_id == item.identity_type_id).identity_type_id&& item.identity_no == inputDataPelamarNow.GetAll().Find(f => f.identity_no == item.identity_no).identity_no)
                {
                    return(Json(new { status = "tidak_boleh_sama_semua" }, JsonRequestBehavior.AllowGet));
                }
                else if (item.phone_number1 == inputDataPelamarNow.GetAll().Find(f => f.phone_number1 == item.phone_number1).phone_number1)
                {
                    return(Json(new { status = "nomor_telepon_sama" }, JsonRequestBehavior.AllowGet));
                }
                else if (item.email == inputDataPelamarNow.GetAll().Find(f => f.email == item.email).email)
                {
                    return(Json(new { status = "email_sama" }, JsonRequestBehavior.AllowGet));
                }
                else if (item.identity_type_id == inputDataPelamarNow.GetAll().Find(f => f.identity_type_id == item.identity_type_id).identity_type_id&& item.identity_no == inputDataPelamarNow.GetAll().Find(f => f.identity_no == item.identity_no).identity_no)
                {
                    return(Json(new { status = "identitas_sama" }, JsonRequestBehavior.AllowGet));
                }
                else
                {
                    if (inputDataPelamarNow.InputDataToDatabase(inputingDataPelamar))
                    {
                        return(Json(new { status = "berhasil" }, JsonRequestBehavior.AllowGet));
                    }
                }
            }
            return(Json(new { status = "gagal" }, JsonRequestBehavior.AllowGet));
        }
        public ActionResult GetAll()
        {
            PelamarRepositories getPelamar = new PelamarRepositories();

            return(Json(getPelamar.GetAll(), JsonRequestBehavior.AllowGet));
        }