//Added on 4Jan2017 // [CustAuthFilter("f87b4a71-f0a8-43c3-aea7-267e5e37a59d,a65bb7c2-e320-42a2-aed4-409a321c08a5,2d9822cd-85a3-4269-9609-9aabb914d792,a31b1716-b042-46b7-acc0-95794e378b26,94cdf8a2-8d81-4b80-a2c6-cdbdc5894b6d,7c2422ba-7bd4-4278-99af-b694dcab7367")] public JsonResult checkPassword(string EmailId, string Password) { try { return(Json(LoginData.CheckPassword(EmailId, Password))); } catch (Exception Ex) { return(Json(Ex.Message)); } }
public Boolean LoginPassword(string password, string username) { LoginData login = new LoginData(); if (login.CheckPassword(login.SearchPassword(username), password) == true) { return(true); } else { return(false); } }