コード例 #1
0
        public IHttpActionResult GetFitmentLinks()
        {
            FitmentRepo fitmentRepo = new FitmentRepo();
            List <RefineFitmentLink> refineFitmentLinks = fitmentRepo.GetRefineLinks();

            if (refineFitmentLinks == null)
            {
                return(NotFound());
            }
            return(Ok(refineFitmentLinks));
        }
コード例 #2
0
        private void GetRefineLinks()
        {
            IFitmentRepo fitmentRepo = new FitmentRepo();

            RefineLinks = fitmentRepo.GetRefineLinks();
        }