public void update(DetailsDto Details_dto)
        {
            try
            {
                using (TransactionScope tx = new TransactionScope(TransactionScopeOption.Required))
                {
                    Details Detail = _detailsRepository.getById(Details_dto.details_id);

                    if (Detail == null)
                    {
                        throw new ItemNotFoundException($"Details with ID {Details_dto.details_id} doesnot Exit.");
                    }

                    _detailsMaker.copy(ref Detail, Details_dto);
                    _detailsRepository.update(Detail);
                    tx.Complete();
                }
            }
            catch (Exception)
            {
                throw;
            }
        }