Beispiel #1
0
        public override void Execute()
        {
            AllMapCache.ClearCache("0");
            AllSyntheticCache.ClearCache("0");

            Response.WriteAsync(JsonUtil.Serialize(new { }));
        }
Beispiel #2
0
 public List <Synthetic> InitAllSynthetics()
 {
     return(AllSyntheticCache.TryGetValue("0", id =>
     {
         string path = string.Format("/foodie-api/gameRealm/getSyntheticList");
         return this.PostResult <List <Synthetic> >(path, null);
     }));
 }