public void Update(FuneralPostModel model, int id)
        {
            var funeral = _mapper.Map <FuneralModel>(model);

            funeral.Id = id;
            _funeralService.Update(funeral, id);
        }
        public void Update(FuneralViewModel entity, params Expression <Func <FuneralModel, object> >[] updatedProperties)
        {
            var funeral = _mapper.Map <FuneralModel>(updatedProperties);

            _funeralService.Update(funeral);
        }