public WarningViewModel() { Details = new List <string>(); ColorOfNotifyBack = ColorNotify.GetColor(NameOfColors.warningLightPlus); AlertColor = "warning"; RedirectSeconds = 8; IsRedirecting = true; }
public InfoViewModel() { Details = new List <string>(); ColorOfNotifyBack = ColorNotify.GetColor(NameOfColors.successLightPlus); AlertColor = "info"; RedirectSeconds = 10; IsRedirecting = true; }
public OkViewModel() { Details = new List <string>(); Title = "Ugurlu Emeliyyat"; ColorOfNotifyBack = ColorNotify.GetColor(NameOfColors.successLightPlus); AlertColor = "primary"; RedirectSeconds = 10; IsRedirecting = true; }
public ErrorViewModel() { Details = new List <BussinessError>(); Title = "Ugursuz Emeliyyat"; ColorOfNotifyBack = ColorNotify.GetColor(NameOfColors.dangerLightPlus); AlertColor = "danger"; RedirectSeconds = 10; IsRedirecting = true; }