Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Nov 19th, 2018 77 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1.         public async Task<SuitabilityModel> GetOne(SuitabilityEntity filter)
  2.         {
  3.             var model = filter as SuitabilityModel;
  4.             var suitability = dal.GetOne(model);
  5.             if (suitability == null && SuitabilityData.Config.FailoverEnabled)
  6.             {
  7.                 var proxy = new SuitabilityProxy();
  8.                 var s = (await proxy.GetOneAsync(filter)) as SuitabilityModel;
  9.                 if (s != null)
  10.                 {
  11.                     UpdateCache(s);
  12.                     suitability = s;
  13.                     ConsoleLogger.LogWarning($"[CLSuitability] Possible subscription problem, as suitability could not be found on cache locally but was fetched via proxy");
  14.                 }
  15.             }
  16.             return suitability;
  17.         }
  18.        
  19.         ...
  20.        
  21.         public async Task<SuitabilityEntity> GetOneAsync(SuitabilityEntity filter)
  22.         {
  23.             prx.SetArguments(filter);
  24.             return (await prx.ExecuteResultAsync("GetOne")).Data as SuitabilityEntity;
  25.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top