Beispiel #1
0
 public NotificationInfoViewModel()
 {
     if (IsInDesignMode)
     {
     }
     else
     {
         int id = notificationBLL.GetNewId();
         notificationModel = new Notification
         {
             Nid   = id,
             Ntime = DateTime.Now.ToString()
         };
     }
 }