public IActionResult Index() { NotificationContentTemplate notificationContentTemplate = new NotificationContentTemplate { Content = "New Content 2" }; SmsNotificationTemplate smsNotificationTemplate = new SmsNotificationTemplate { Content = notificationContentTemplate, IsActive = true }; smsNotificationTemplate.AddGsmNumber("1234567890"); smsNotificationTemplate.AddGsmNumber("1234567891"); //notificationTemplateService.AddSmsNotificationTemplate(smsNotificationTemplate); var x = notificationTemplateService.GetAllSmsNotificationTemplates(); notificationTemplateService.DummyUpdate(); return(View()); }