public HttpResponseMessage ChangePassword(AdminEmail mail)
        {
            proc_OtpCheck2_Result res = null;

            res = entities1.proc_OtpCheck2(mail.email_id, mail.otp).FirstOrDefault();
            if (res == null)
            {
                return(Request.CreateErrorResponse(HttpStatusCode.BadRequest, "otp not matched Please enter correct otp"));
            }
            else
            {
                return(Request.CreateResponse <proc_OtpCheck2_Result>(res));
            }
        }
        public HttpResponseMessage ChangePassword(tblUserotp otp)
        {
            proc_OtpCheck2_Result res = null;

            res = entities.proc_OtpCheck2(otp.email_id, otp.otp).FirstOrDefault();
            if (res == null)
            {
                return(Request.CreateErrorResponse(HttpStatusCode.BadRequest, "Wrong OTP entered"));
            }
            else
            {
                return(Request.CreateResponse <proc_OtpCheck2_Result>(res));
            }
        }