public void YenileAvans()
 {
     if (_selected != null)
     {
         IEnumerable <DAL.EntityFramework.Tables.Avanslar> result = _avans.All(_selected.Id);
         avansGridView.DataSource = result;
         //avansGridView.Columns["StokId"].Visible = false;
         avansGridView.Columns["Personel"].Visible = false;
         avansGridView.Columns["Id"].Visible       = false;
     }
 }
Beispiel #2
0
 public IEnumerable <Avanslar> CalcAvans(Guid personalid)
 {
     return(_avans.All(personalid)
            .Where(s => s.MaastanDusulduMu == false)
            );
 }
Beispiel #3
0
 public IEnumerable <Avanslar> All()
 {
     return(_manager.All());
 }