public Response <UserSession> Update(UserSession UserSessions)
        {
            var response = new Response <UserSession>();

            try
            {
                var session = _userSessionRepository.GetById(a => a.Id == UserSessions.Id && a.DateDeleted == null);
                if (session == null)
                {
                    response.AddValidationError("", "Session notFound.");
                    return(response);
                }
                session.LastModificationTime = DateTime.UtcNow.ToString();
                _userSessionRepository.Update(session);
                response.Success = true;
                response.Data    = session;
            }
            catch (Exception ex)
            {
                HandleException(response, ex);
            }
            return(response);
        }