public JsonResult UnlockAccount(string pass) { var response = new ResponseModel<LoginResponse>(); var headers = new HeaderManager(Request); M2ESession session = TokenManager.getSessionInfo(headers.AuthToken, headers); var isValidToken = TokenManager.IsValidSession(headers.AuthToken); response = new AuthService().unlockAccountService(headers, session,EncryptionClass.Md5Hash(pass)); return Json(response); }
public JsonResult LockUserAccount() { var response = new ResponseModel<LoginResponse>(); var headers = new HeaderManager(Request); M2ESession session = TokenManager.getSessionInfo(headers.AuthToken, headers); var isValidToken = TokenManager.IsValidSession(headers.AuthToken); response = new AuthService().LockAccountService(headers, session); return Json(response); }
public JsonResult ContactUs(ContactUsRequest req) { var contactUsService = new AuthService(); var response = contactUsService.ContactUsService(req); return Json(response); }