// GET api/coverages
        public IHttpActionResult GetCoverages()
        {
            coverageRepository = new CoverageRepository();
            var coverages = coverageRepository.GetCoverages();

            return(Ok(coverageRepository.GetCoverages()
                      .Select(Mapper.Map <Coverage, CoverageDto>)));
        }
 public CoverageAdjustmentService(ICoverageRepository repository)
 {
     _repository = repository;
 }
Example #3
0
 public CoverageAdjustmentService(ICoverageRepository repository)
 {
     _repository = repository;
 }
 public CoverageLogic(IConfiguration configuration)
 {
     Configuration      = configuration;
     coverageRepository = new CoverageRepository(Configuration);
 }