public async Task <IActionResult> Edit(long id) { var user = await TryGetUser(User); var allOwnerAccounts = await GetLegitUsers(user); var channel = _channelManager.GetChannelById(id); var model = new AddChannelViewModel { OwnerUserId = channel.OwnerUserId, Channel = channel }; model.Owners.AddRange(allOwnerAccounts); return(View("Add", model)); }