private void InitializeActions() { AccountControllerTest accountTest = new AccountControllerTest(); productActions = new ProductActions(); AutorizationCheck(AutorizationType); if (AutorizationType == AutorizationType.Authorize) { productActions.CreateHeaders(AutorizationType, LoginResult); } }