public Mesaj IsActiveSituation(Customer customer) { int row = _cm.IsActiveSituation(customer); if (row > 0) { mesaj.Content = "Kayıt Silindi"; mesaj.Color = Color.Green; } else { mesaj.Content = "Kayıt Silinemedi"; mesaj.Color = Color.Red; } return(mesaj); }