public JsonResult delUser(int userId)
        {
            if (!userExists(userId))
            {
                Response.StatusCode = (int)HttpStatusCode.NotFound;
                return(Json(NotFound("User was not found")));
            }
            Response.StatusCode = (int)HttpStatusCode.OK;
            _purchaseDAO.delUserPurchases(userId);
            var deletedUser = _userDAO.delUser(userId);

            return(Json(Ok(deletedUser)));
        }