public LoginModel LoginClient(LoginModel poLoginModel) { LoginModel objLoginModel = new LoginModel(); objLoginModel.bResult = false; logger.Info(SerializeModel.Serialize(67823458261216, $"Inicia LoginModel LoginClient(LoginModel poLoginModel)", poLoginModel)); try { clsLogin objclsLogin = new clsLogin(); objLoginModel = objclsLogin.m_Login(poLoginModel); objLoginModel.bFolio = Convert.ToBoolean(ConfigurationManager.AppSettings["bActivarFolio"].ToString()); logger.Warn(SerializeModel.Serialize(67823458290742, $"Response LoginModel LoginClient(LoginModel poLoginModel)", objLoginModel)); } catch (Exception ex) { objLoginModel.sMensajeRespuesta = ex.Message; logger.Error(SerializeModel.Serialize(67823458261993, $"Error en LoginModel LoginClient(LoginModel poLoginModel): {ex.Message}", poLoginModel, ex, objLoginModel)); } return(objLoginModel); }