Closed KarthikElumalai closed 5 years ago
@giribabuzee Please add three Controller Action JsonResult SendOtp(); have a session variable called OtpValue. The EnterOtp will be outing the otp and returning the staus. Catch both value here. ActionResult EnterOtp(){return view;}// this will simply return the view to the customer to enter the otp.
JsonResult VerifyOtp(string otp) // catch the value entered by the user here , in this call the VerifyOtp(otp,sessionotp), send both the values for verification and catch the result in boolean.
everyone JsonResult is obsolete in .net core. Please use actionresult and find ways to return json to ajax. Part of R&D.
@giribabuzee I have checked in the basic version of the code. Please verify and optimize the code.
Hi
@giribabuzee As nilanjan mentioned above, kindly verify this and provide your views
If everything looks good, please close this
Thanks
Hi Team ,
Closing this task, since it has been completed
Thanks Karthik
Create action methods for Login (get and Post Methods), include session variables to track the users.