public IEnumerable <FuneralModel> GetAll() { var funerals = _funeralRepository.GetAll(); return(_mapper.Map <IEnumerable <FuneralModel> >(funerals)); }
ICollection <FuneralModel> IFuneralService.GetAll() { var funerals = _funeralRepository.GetAll(); return(_mapper.Map <ICollection <FuneralModel> >(funerals)); }