private IEnumerable <QuickfindMC> SaveQuickFind(string source, string description, bool lastUsed, bool lastUsedToday)
        {
            var rep = new QuickFindSortRepository(_context);

            return(rep.SaveQuickFind(User.Identity.Name, source, description,
                                     lastUsed, lastUsedToday));
        }
예제 #2
0
        private IEnumerable <QuickfindMC> ReturnQuickFind(string source, bool system)
        {
            var repo = new QuickFindSortRepository(_context);

            return(repo.ReturnQuickFind(source, system, User.Identity.Name));
        }