public UserActivateResponseDto UpdateUserActive(UserActivateRequestDto userActivateRequestDto)
        {
            UserActivateResponseDto userActivateResponseDto;

            try
            {
                userActivateResponseDto = businessAuthentication.UpdateUserActive(userActivateRequestDto);
                userActivateResponseDto.ServiceResponseStatus = 1;
            }
            catch (SSException applicationException)
            {
                userActivateResponseDto = new UserActivateResponseDto
                {
                    ServiceResponseStatus = 0,
                    ErrorMessage          = applicationException.Message,
                    ErrorCode             = applicationException.ExceptionCode
                };
            }
            catch (Exception exception)
            {
                userActivateResponseDto = new UserActivateResponseDto
                {
                    ServiceResponseStatus = 0,
                    ErrorCode             = ExceptionAttributes.ExceptionCodes.InternalServerError,
                    ErrorMessage          = exception.Message
                };
            }


            return(userActivateResponseDto);
        }
        public UserActivateResponseDto UpdateUserActive(UserActivateRequestDto userActivateRequestDto)
        {
            UserActivateResponseDto userActivateResponseDto = new UserActivateResponseDto();
            var cModel = new UserActivateCM
            {
                UserId   = userActivateRequestDto.UserId,
                IsActive = userActivateRequestDto.IsActive
            };
            var response = authenticationRepository.UpdateUserActive(cModel);

            userActivateResponseDto.RegisteredUserId = response.RegisteredUserId;
            return(userActivateResponseDto);
        }