public IActionResult ResetPassword(User user)
        {
            var userData = dataContext.users.FirstOrDefault(u => u.username == user.username || u.email == user.email);

            if (userData == null)
            {
                return(BadRequest(ConstValues.MSG_ACCOUNT_NOT_FOUND));
            }

            var generatedPassword = GenericUtils.StringGenerator();

            userData.updated  = GenericUtils.GetDateTime();
            userData.password = TokenService.HashPassword(GenericUtils.GenerateSha256String(generatedPassword));
            dataContext.users.Update(userData);
            dataContext.SaveChanges();
            _ = Notifications.SendEmail(userData.email, ConstValues.NTF_TITLE_PASSWORD, generatedPassword);

            return(Ok());
        }