private void personalGenderInfo()
        {
            int erkek = DALPersonal.PersonalList().Where(m => m.PersonelGender == "ERKEK").Count();
            int kadın = DALPersonal.PersonalList().Where(m => m.PersonelGender == "KADIN").Count();

            chart4.Titles.Add("Personel Gender Info");
            chart4.Series["Personal"].IsValueShownAsLabel = true;
            chart4.Series["Personal"].Points.AddXY("Erkek", erkek);
            chart4.Series["Personal"].Points.AddXY("Kadın", kadın);
        }
 public static bool LLPersonelLogin(EntityPersonal ent)
 {
     foreach (EntityPersonal item in DALPersonal.PersonalList())
     {
         if (item.PersonelUserName == ent.PersonelUserName && item.PersonelPassword == ent.PersonelPassword)
         {
             ent.PersonelId       = item.PersonelId;
             ent.PersonelName     = item.PersonelName;
             ent.PersonelLastName = item.PersonelLastName;
             ent.PersonelGender   = item.PersonelGender;
             return(true);
         }
     }
     return(false);
 }
 public static List <EntityPersonal> LLPersonalList()
 {
     return(DALPersonal.PersonalList());
 }