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:
-6
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user