Exemple #1
0
 public Dictionary <string, List <SubMenu> > List()
 {
     try
     {
         return(SubMenuCache.GetInstance().GeValues());
     }
     catch (Exception e)
     {
         logger.Error(string.Format("Hata=>{0} StackTrace=>{1}", e.Message, e.StackTrace));
     }
     return(new Dictionary <string, List <SubMenu> >());
 }
Exemple #2
0
 public void Clear(User user)
 {
     try
     {
         ValidateLogin(user);
         SubMenuCache.GetInstance().Reload();
         StringCache.GetInstance().Reload();
     }
     catch (Exception e)
     {
         logger.Error(string.Format("Hata=>{0} StackTrace=>{1}", e.Message, e.StackTrace));
     }
 }