code format
This commit is contained in:
parent
13d66adc08
commit
3cc3df4e2d
1 changed files with 7 additions and 5 deletions
|
|
@ -302,11 +302,13 @@ namespace Yavsc.Controllers
|
|||
public async Task<IActionResult> SetGoogleCalendar(string returnUrl, string pageToken)
|
||||
|
||||
{
|
||||
var calendars = await _calendarManager.GetCalendarsAsync(User.GetUserId(), pageToken);
|
||||
return View(new SetGoogleCalendarViewModel {
|
||||
ReturnUrl = returnUrl,
|
||||
Calendars = calendars
|
||||
});
|
||||
var uid = User.GetUserId();
|
||||
|
||||
var calendars = await _calendarManager.GetCalendarsAsync(uid, pageToken);
|
||||
return View(new SetGoogleCalendarViewModel {
|
||||
ReturnUrl = returnUrl,
|
||||
Calendars = calendars
|
||||
});
|
||||
}
|
||||
|
||||
[HttpPost, ValidateAntiForgeryToken]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue