private T GetCookie <T>(string key)
 {
     try
     {
         return(CookiesManager.GetCookie <T>(Request, key));
     }
     catch
     {
         return(default);