public async Task <object> DeactivateBusinessUserById(Guid businessID, Guid businessUserID) { var checkBusinessId = await _commonLogic.CheckBusinessID(businessID); if (checkBusinessId) { bool checkBusinessUserId = await _commonLogic.CheckBusinessUserID(businessID, businessUserID); if (checkBusinessUserId) { var response = await _businessUsersLogic.DeactivateBusinessUserById(businessID, businessUserID); if (response) { return(_businessUsersValidation.BusinessUserDeactivatedSuccess()); } return(_businessUsersValidation.BusinessUserDeactivatedFailed()); } return(_commonValidation.BusinessUserIdNotExists(businessUserID)); } return(_commonValidation.BusinessIdNotExists(businessID)); }