public ActionResult FindUsertoberegistered(string email, int userRegistrationType, Guid?businessGuid) { if (businessGuid == null) { businessGuid = Guid.Empty; } UserDomainLogic userdomainLogic = new UserDomainLogic(); var userProfileData = userdomainLogic.FindUsertoberegistered(email, userRegistrationType, businessGuid); return(Json(new { userProfile = userProfileData, isExists = userProfileData.UserGuid == Guid.Empty ? false : true }, JsonRequestBehavior.AllowGet)); }