Beispiel #1
0
        public ModelUser GetUser(string username)
        {
            var model = new ModelUser();

            return(model.Get(_ctx).FirstOrDefault(x => x.Username == username));
        }
Beispiel #2
0
        public IQueryable <ModelUser> ReadUsers()
        {
            var model = new ModelUser();

            return(model.Get(_ctx));
        }