public async Task <ActualResult> UpdateAsync(WellnessEmployeesDTO item)
        {
            try
            {
                _context.Entry(_mapper.Map <EventEmployees>(item)).State = EntityState.Modified;
                await _context.SaveChangesAsync();

                return(new ActualResult());
            }
            catch (Exception exception)
            {
                return(new ActualResult(DescriptionExceptionHelper.GetDescriptionError(exception)));
            }
        }
        public async Task <ActualResult> CreateAsync(WellnessEmployeesDTO item)
        {
            try
            {
                await _context.EventEmployees.AddAsync(_mapperService.Mapper.Map <EventEmployees>(item));

                await _context.SaveChangesAsync();

                return(new ActualResult());
            }
            catch (Exception exception)
            {
                return(new ActualResult(DescriptionExceptionHelper.GetDescriptionError(exception)));
            }
        }
        public async Task <ActualResult <string> > CreateAsync(WellnessEmployeesDTO item)
        {
            try
            {
                var wellnessEmployees = _mapper.Map <EventEmployees>(item);
                await _context.EventEmployees.AddAsync(wellnessEmployees);

                await _context.SaveChangesAsync();

                var hashId = HashHelper.EncryptLong(wellnessEmployees.Id);
                return(new ActualResult <string> {
                    Result = hashId
                });
            }
            catch (Exception exception)
            {
                return(new ActualResult <string>(DescriptionExceptionHelper.GetDescriptionError(exception)));
            }
        }