Esempio n. 1
0
        public List <Supply> FindByUserId(int userid)
        {
            List <Supply> supplies = new List <Supply>();

            try {
                supplies = supplyRepository.findAll().Where(w => w.userid == userid).ToList();
            }
            catch (Exception ex) {
            }
            return(supplies);
        }