public IHttpActionResult GetFitmentLinks() { FitmentRepo fitmentRepo = new FitmentRepo(); List <RefineFitmentLink> refineFitmentLinks = fitmentRepo.GetRefineLinks(); if (refineFitmentLinks == null) { return(NotFound()); } return(Ok(refineFitmentLinks)); }
private void GetRefineLinks() { IFitmentRepo fitmentRepo = new FitmentRepo(); RefineLinks = fitmentRepo.GetRefineLinks(); }