public ActionResult CheckIfEmailExist(string email) { var mgr = new AdminMembersRepository(); Organization o = mgr.GetOrganizationByUser(int.Parse(User.Identity.Name)); bool Exist = mgr.CheckIfEmailExist(email, o.Id); //True - Email does exist already return(Json(Exist, JsonRequestBehavior.AllowGet)); }