public async Task TestGetUser(GetUserByIdRequest com, ObjectResult resultAction, bool elementCreated = false)
        {
            Guid createdcompanyId = UserComponentsValues.GetUserAviability();

            com.Id = elementCreated == true ? createdcompanyId : com.Id;

            HttpResponseMessage actionResult = await _userAPI.GetUserById(com);

            base.CheckAssert(actionResult, resultAction);
        }
        public async Task TestDeleteUser(DeleteUserByIdRequest delcom, ObjectResult resultAction, bool elementCreated = false)
        {
            Guid createdtransactionId = UserComponentsValues.GetUserAviability();

            delcom.Id = elementCreated == true ? createdtransactionId : delcom.Id;

            HttpResponseMessage actionResult = await _userAPI.DeleteUser(delcom);

            base.CheckAssert(actionResult, resultAction);
        }
        public async Task TestUpdateUser(UpdateUserRequest obj, ObjectResult resultAction, bool elementCreated = false)
        {
            var createdcompanyId = UserComponentsValues.GetUserAviability();

            obj.Id = elementCreated == true ? createdcompanyId : obj.Id;

            HttpResponseMessage actionResult = await _userAPI.UpdateUser(obj);

            base.CheckAssert(actionResult, resultAction);
        }