public Status ConfirmCode(string otp, string mail) { var ipAddress = HttpContext.Connection.RemoteIpAddress; communication.log($"code -> {otp}\n mail-> {mail}", MethodBase.GetCurrentMethod().Name, ipAddress.ToString()); Status status; DbSelect select = new DbSelect(Configuration, _hostingEnvironment); status = select.VerifyMailOtp(otp, mail); return(status); }