public TitanWcfService.DataAccesLayer.Entities.BotCache GetBotCacheExistance(string title) { TitanWcfService.DataAccesLayer.Entities.BotCache cacheFound = context.BotCaches.FirstOrDefault(g => g.Title == title); return(cacheFound); }
public void AddBotCache(TitanWcfService.DataAccesLayer.Entities.BotCache cache) { context.BotCaches.Add(cache); }