refactor: channel holds delivery config only — remove AppDisplayName, AppBaseUrl

- SmtpChannelSettings: Host, Port, Username, Password, UseSsl, FromEmail, FromName only
- AppDisplayName and AppBaseUrl moved to template variables (payload responsibility)
- Updated ViewModel, controller Save/Edit mapping, and Edit view accordingly

Ref: IT-628

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Anatolii Grynchuk
2026-05-02 03:08:12 +03:00
parent 61ccf9c777
commit 2b272e989b
4 changed files with 8 additions and 34 deletions
@@ -45,12 +45,6 @@ public class EmailChannelEditViewModel
[Required]
public string FromName { get; set; } = "";
[Required]
public string AppDisplayName { get; set; } = "";
[Required]
public string AppBaseUrl { get; set; } = "";
// ── Computed ───────────────────────────────────────────────────────
public bool IsNew => Id == Guid.Empty;
public string PageTitle => IsNew ? "Create Channel" : "Edit Channel";