Skip to content

Commit a54f2cc

Browse files
committed
#5523 Removed redundant summary comments of controllers actions
1 parent 2086281 commit a54f2cc

File tree

106 files changed

+0
-1135
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+0
-1135
lines changed

src/Plugins/Nop.Plugin.DiscountRules.CustomerRoles/Controllers/DiscountRulesCustomerRolesController.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ public DiscountRulesCustomerRolesController(ICustomerService customerService,
5252

5353
#region Methods
5454

55-
/// <returns>A task that represents the asynchronous operation</returns>
5655
public async Task<IActionResult> Configure(int discountId, int? discountRequirementId)
5756
{
5857
if (!await _permissionService.AuthorizeAsync(StandardPermissionProvider.ManageDiscounts))
@@ -97,7 +96,6 @@ public async Task<IActionResult> Configure(int discountId, int? discountRequirem
9796
}
9897

9998
[HttpPost]
100-
/// <returns>A task that represents the asynchronous operation</returns>
10199
public async Task<IActionResult> Configure(RequirementModel model)
102100
{
103101
if (!await _permissionService.AuthorizeAsync(StandardPermissionProvider.ManageDiscounts))

src/Plugins/Nop.Plugin.ExternalAuth.Facebook/Controllers/FacebookAuthenticationController.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ public FacebookAuthenticationController(FacebookExternalAuthSettings facebookExt
6666

6767
[AuthorizeAdmin]
6868
[Area(AreaNames.Admin)]
69-
/// <returns>A task that represents the asynchronous operation</returns>
7069
public async Task<IActionResult> Configure()
7170
{
7271
if (!await _permissionService.AuthorizeAsync(StandardPermissionProvider.ManageExternalAuthenticationMethods))
@@ -85,7 +84,6 @@ public async Task<IActionResult> Configure()
8584
[AutoValidateAntiforgeryToken]
8685
[AuthorizeAdmin]
8786
[Area(AreaNames.Admin)]
88-
/// <returns>A task that represents the asynchronous operation</returns>
8987
public async Task<IActionResult> Configure(ConfigurationModel model)
9088
{
9189
if (!await _permissionService.AuthorizeAsync(StandardPermissionProvider.ManageExternalAuthenticationMethods))
@@ -107,7 +105,6 @@ public async Task<IActionResult> Configure(ConfigurationModel model)
107105
return await Configure();
108106
}
109107

110-
/// <returns>A task that represents the asynchronous operation</returns>
111108
public async Task<IActionResult> Login(string returnUrl)
112109
{
113110
var methodIsAvailable = await _authenticationPluginManager
@@ -131,7 +128,6 @@ public async Task<IActionResult> Login(string returnUrl)
131128
return Challenge(authenticationProperties, FacebookDefaults.AuthenticationScheme);
132129
}
133130

134-
/// <returns>A task that represents the asynchronous operation</returns>
135131
public async Task<IActionResult> LoginCallback(string returnUrl)
136132
{
137133
//authenticate Facebook user

src/Plugins/Nop.Plugin.Misc.Sendinblue/Controllers/SendinblueController.cs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@ private async Task PrepareModelAsync(ConfigurationModel model)
205205

206206
[AuthorizeAdmin]
207207
[Area(AreaNames.Admin)]
208-
/// <returns>A task that represents the asynchronous operation</returns>
209208
public async Task<IActionResult> Configure()
210209
{
211210
var model = new ConfigurationModel();
@@ -218,7 +217,6 @@ public async Task<IActionResult> Configure()
218217
[Area(AreaNames.Admin)]
219218
[HttpPost, ActionName("Configure")]
220219
[FormValueRequired("save")]
221-
/// <returns>A task that represents the asynchronous operation</returns>
222220
public async Task<IActionResult> Configure(ConfigurationModel model)
223221
{
224222
if (!ModelState.IsValid)
@@ -241,7 +239,6 @@ public async Task<IActionResult> Configure(ConfigurationModel model)
241239
[Area(AreaNames.Admin)]
242240
[HttpPost, ActionName("Configure")]
243241
[FormValueRequired("saveSync")]
244-
/// <returns>A task that represents the asynchronous operation</returns>
245242
public async Task<IActionResult> SaveSynchronization(ConfigurationModel model)
246243
{
247244
if (!ModelState.IsValid)
@@ -270,7 +267,6 @@ public async Task<IActionResult> SaveSynchronization(ConfigurationModel model)
270267
[Area(AreaNames.Admin)]
271268
[HttpPost, ActionName("Configure")]
272269
[FormValueRequired("sync")]
273-
/// <returns>A task that represents the asynchronous operation</returns>
274270
public async Task<IActionResult> Synchronization(ConfigurationModel model)
275271
{
276272
if (!ModelState.IsValid)
@@ -306,7 +302,6 @@ public async Task<string> GetSynchronizationInfo()
306302
[Area(AreaNames.Admin)]
307303
[HttpPost, ActionName("Configure")]
308304
[FormValueRequired("saveSMTP")]
309-
/// <returns>A task that represents the asynchronous operation</returns>
310305
public async Task<IActionResult> ConfigureSMTP(ConfigurationModel model)
311306
{
312307
if (!ModelState.IsValid)
@@ -365,7 +360,6 @@ public async Task<IActionResult> ConfigureSMTP(ConfigurationModel model)
365360
[HttpPost]
366361
[AuthorizeAdmin]
367362
[Area(AreaNames.Admin)]
368-
/// <returns>A task that represents the asynchronous operation</returns>
369363
public async Task<IActionResult> MessageList(SendinblueMessageTemplateSearchModel searchModel)
370364
{
371365
var storeId = await _storeContext.GetActiveStoreScopeConfigurationAsync();
@@ -404,7 +398,6 @@ public async Task<IActionResult> MessageList(SendinblueMessageTemplateSearchMode
404398
[HttpPost]
405399
[AuthorizeAdmin]
406400
[Area(AreaNames.Admin)]
407-
/// <returns>A task that represents the asynchronous operation</returns>
408401
public async Task<IActionResult> MessageUpdate(SendinblueMessageTemplateModel model)
409402
{
410403
if (!ModelState.IsValid)
@@ -446,7 +439,6 @@ public async Task<IActionResult> MessageUpdate(SendinblueMessageTemplateModel mo
446439
[Area(AreaNames.Admin)]
447440
[HttpPost, ActionName("Configure")]
448441
[FormValueRequired("saveSMS")]
449-
/// <returns>A task that represents the asynchronous operation</returns>
450442
public async Task<IActionResult> ConfigureSMS(ConfigurationModel model)
451443
{
452444
if (!ModelState.IsValid)
@@ -473,7 +465,6 @@ public async Task<IActionResult> ConfigureSMS(ConfigurationModel model)
473465
[HttpPost]
474466
[AuthorizeAdmin]
475467
[Area(AreaNames.Admin)]
476-
/// <returns>A task that represents the asynchronous operation</returns>
477468
public async Task<IActionResult> SMSList(SmsSearchModel searchModel)
478469
{
479470
var storeId = await _storeContext.GetActiveStoreScopeConfigurationAsync();
@@ -540,7 +531,6 @@ public async Task<IActionResult> SMSList(SmsSearchModel searchModel)
540531
[HttpPost]
541532
[AuthorizeAdmin]
542533
[Area(AreaNames.Admin)]
543-
/// <returns>A task that represents the asynchronous operation</returns>
544534
public async Task<IActionResult> SMSAdd(SmsModel model)
545535
{
546536
if (!ModelState.IsValid)
@@ -560,7 +550,6 @@ public async Task<IActionResult> SMSAdd(SmsModel model)
560550
[HttpPost]
561551
[AuthorizeAdmin]
562552
[Area(AreaNames.Admin)]
563-
/// <returns>A task that represents the asynchronous operation</returns>
564553
public async Task<IActionResult> SMSDelete(SmsModel model)
565554
{
566555
if (!ModelState.IsValid)
@@ -582,7 +571,6 @@ public async Task<IActionResult> SMSDelete(SmsModel model)
582571
[Area(AreaNames.Admin)]
583572
[HttpPost, ActionName("Configure")]
584573
[FormValueRequired("submitCampaign")]
585-
/// <returns>A task that represents the asynchronous operation</returns>
586574
public async Task<IActionResult> SubmitCampaign(ConfigurationModel model)
587575
{
588576
if (!ModelState.IsValid)
@@ -601,7 +589,6 @@ public async Task<IActionResult> SubmitCampaign(ConfigurationModel model)
601589
[Area(AreaNames.Admin)]
602590
[HttpPost, ActionName("Configure")]
603591
[FormValueRequired("saveMA")]
604-
/// <returns>A task that represents the asynchronous operation</returns>
605592
public async Task<IActionResult> ConfigureMA(ConfigurationModel model)
606593
{
607594
if (!ModelState.IsValid)
@@ -630,7 +617,6 @@ public async Task<IActionResult> ConfigureMA(ConfigurationModel model)
630617
return await Configure();
631618
}
632619

633-
/// <returns>A task that represents the asynchronous operation</returns>
634620
public async Task<IActionResult> ImportContacts(BaseNopModel model, IFormCollection form)
635621
{
636622
try
@@ -653,7 +639,6 @@ public async Task<IActionResult> ImportContacts(BaseNopModel model, IFormCollect
653639
}
654640

655641
[HttpPost]
656-
/// <returns>A task that represents the asynchronous operation</returns>
657642
public async Task<IActionResult> UnsubscribeWebHook()
658643
{
659644
try

src/Plugins/Nop.Plugin.MultiFactorAuth.GoogleAuthenticator/Controllers/AuthenticationController.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ public AuthenticationController(
5151
#region Methods
5252

5353
[HttpPost]
54-
/// <returns>A task that represents the asynchronous operation</returns>
5554
public async Task<IActionResult> RegisterGoogleAuthenticator(AuthModel model)
5655
{
5756
var currentCustomer = await _workContext.GetCurrentCustomerAsync();
@@ -80,7 +79,6 @@ public async Task<IActionResult> RegisterGoogleAuthenticator(AuthModel model)
8079
}
8180

8281
[HttpPost]
83-
/// <returns>A task that represents the asynchronous operation</returns>
8482
public async Task<IActionResult> VerifyGoogleAuthenticator(TokenModel model)
8583
{
8684
var customerMultiFactorAuthenticationInfo = HttpContext.Session.Get<CustomerMultiFactorAuthenticationInfo>(NopCustomerDefaults.CustomerMultiFactorAuthenticationInfo);

src/Plugins/Nop.Plugin.MultiFactorAuth.GoogleAuthenticator/Controllers/GoogleAuthenticatorController.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ IWorkContext workContext
6868

6969
#region Methods
7070

71-
/// <returns>A task that represents the asynchronous operation</returns>
7271
public async Task<IActionResult> Configure()
7372
{
7473
if (!await _permissionService.AuthorizeAsync(StandardPermissionProvider.ManageMultifactorAuthenticationMethods))
@@ -87,7 +86,6 @@ public async Task<IActionResult> Configure()
8786
}
8887

8988
[HttpPost]
90-
/// <returns>A task that represents the asynchronous operation</returns>
9189
public async Task<IActionResult> Configure(ConfigurationModel model)
9290
{
9391
if (!await _permissionService.AuthorizeAsync(StandardPermissionProvider.ManageMultifactorAuthenticationMethods))
@@ -107,7 +105,6 @@ public async Task<IActionResult> Configure(ConfigurationModel model)
107105
}
108106

109107
[HttpPost]
110-
/// <returns>A task that represents the asynchronous operation</returns>
111108
public async Task<IActionResult> GoogleAuthenticatorList(GoogleAuthenticatorSearchModel searchModel)
112109
{
113110
if (!await _permissionService.AuthorizeAsync(StandardPermissionProvider.ManageMultifactorAuthenticationMethods))
@@ -131,7 +128,6 @@ public async Task<IActionResult> GoogleAuthenticatorList(GoogleAuthenticatorSear
131128
}
132129

133130
[HttpPost]
134-
/// <returns>A task that represents the asynchronous operation</returns>
135131
public async Task<IActionResult> GoogleAuthenticatorDelete (GoogleAuthenticatorModel model)
136132
{
137133
if (!ModelState.IsValid)

src/Plugins/Nop.Plugin.Payments.CheckMoneyOrder/Controllers/PaymentCheckMoneyOrderController.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ public PaymentCheckMoneyOrderController(ILanguageService languageService,
4949

5050
#region Methods
5151

52-
/// <returns>A task that represents the asynchronous operation</returns>
5352
public async Task<IActionResult> Configure()
5453
{
5554
if (!await _permissionService.AuthorizeAsync(StandardPermissionProvider.ManagePaymentMethods))
@@ -87,7 +86,6 @@ await AddLocalesAsync(_languageService, model.Locales, async (locale, languageId
8786
}
8887

8988
[HttpPost]
90-
/// <returns>A task that represents the asynchronous operation</returns>
9189
public async Task<IActionResult> Configure(ConfigurationModel model)
9290
{
9391
if (!await _permissionService.AuthorizeAsync(StandardPermissionProvider.ManagePaymentMethods))

src/Plugins/Nop.Plugin.Payments.Manual/Controllers/PaymentManualController.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ public PaymentManualController(ILocalizationService localizationService,
4848

4949
#region Methods
5050

51-
/// <returns>A task that represents the asynchronous operation</returns>
5251
public async Task<IActionResult> Configure()
5352
{
5453
if (!await _permissionService.AuthorizeAsync(StandardPermissionProvider.ManagePaymentMethods))
@@ -77,7 +76,6 @@ public async Task<IActionResult> Configure()
7776
}
7877

7978
[HttpPost]
80-
/// <returns>A task that represents the asynchronous operation</returns>
8179
public async Task<IActionResult> Configure(ConfigurationModel model)
8280
{
8381
if (!await _permissionService.AuthorizeAsync(StandardPermissionProvider.ManagePaymentMethods))

src/Plugins/Nop.Plugin.Payments.PayPalSmartPaymentButtons/Controllers/PayPalSmartPaymentButtonsController.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ public PayPalSmartPaymentButtonsController(ILocalizationService localizationServ
6363

6464
#region Methods
6565

66-
/// <returns>A task that represents the asynchronous operation</returns>
6766
public async Task<IActionResult> Configure()
6867
{
6968
if (!await _permissionService.AuthorizeAsync(StandardPermissionProvider.ManagePaymentMethods))
@@ -120,7 +119,6 @@ public async Task<IActionResult> Configure()
120119
}
121120

122121
[HttpPost]
123-
/// <returns>A task that represents the asynchronous operation</returns>
124122
public async Task<IActionResult> Configure(ConfigurationModel model)
125123
{
126124
if (!await _permissionService.AuthorizeAsync(StandardPermissionProvider.ManagePaymentMethods))

src/Plugins/Nop.Plugin.Payments.PayPalSmartPaymentButtons/Controllers/PayPalSmartPaymentButtonsWebhookController.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ public PayPalSmartPaymentButtonsWebhookController(PayPalSmartPaymentButtonsSetti
2727
#region Methods
2828

2929
[HttpPost]
30-
/// <returns>A task that represents the asynchronous operation</returns>
3130
public async Task<IActionResult> WebhookHandler()
3231
{
3332
await _serviceManager.HandleWebhookAsync(_settings, Request);

src/Plugins/Nop.Plugin.Payments.PayPalStandard/Controllers/PaymentPayPalStandardController.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ public PaymentPayPalStandardController(IGenericAttributeService genericAttribute
7979

8080
[AuthorizeAdmin]
8181
[Area(AreaNames.Admin)]
82-
/// <returns>A task that represents the asynchronous operation</returns>
8382
public async Task<IActionResult> Configure()
8483
{
8584
if (!await _permissionService.AuthorizeAsync(StandardPermissionProvider.ManagePaymentMethods))
@@ -117,7 +116,6 @@ public async Task<IActionResult> Configure()
117116
[AuthorizeAdmin]
118117
[Area(AreaNames.Admin)]
119118
[AutoValidateAntiforgeryToken]
120-
/// <returns>A task that represents the asynchronous operation</returns>
121119
public async Task<IActionResult> Configure(ConfigurationModel model)
122120
{
123121
if (!await _permissionService.AuthorizeAsync(StandardPermissionProvider.ManagePaymentMethods))
@@ -159,7 +157,6 @@ public async Task<IActionResult> Configure(ConfigurationModel model)
159157
//action displaying notification (warning) to a store owner about inaccurate PayPal rounding
160158
[AuthorizeAdmin]
161159
[Area(AreaNames.Admin)]
162-
/// <returns>A task that represents the asynchronous operation</returns>
163160
public async Task<IActionResult> RoundingWarning(bool passProductNamesAndTotals)
164161
{
165162
if (!await _permissionService.AuthorizeAsync(StandardPermissionProvider.ManagePaymentMethods))
@@ -172,7 +169,6 @@ public async Task<IActionResult> RoundingWarning(bool passProductNamesAndTotals)
172169
return Json(new { Result = string.Empty });
173170
}
174171

175-
/// <returns>A task that represents the asynchronous operation</returns>
176172
public async Task<IActionResult> PDTHandler()
177173
{
178174
var tx = _webHelper.QueryString<string>("tx");
@@ -317,7 +313,6 @@ await _orderService.InsertOrderNoteAsync(new OrderNote
317313
}
318314
}
319315

320-
/// <returns>A task that represents the asynchronous operation</returns>
321316
public async Task<IActionResult> CancelOrder()
322317
{
323318
var order = (await _orderService.SearchOrdersAsync((await _storeContext.GetCurrentStoreAsync()).Id,

0 commit comments

Comments
 (0)