/// <summary>
        /// Close current user account
        /// </summary>
        /// <returns>Api response</returns>
        public async Task <ApiOkResult> CloseAccount()
        {
            var user = await GetCurrentUser();

            if (user == null)
            {
                throw new MRException();
            }

            if (user.Status == UserStatus.Blocked)
            {
                throw new MRException();
            }

            await _appUserRepository.DeleteSoft(user.Id);

            return(new ApiOkResult());
        }