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; } }
public IEnumerable <Avanslar> CalcAvans(Guid personalid) { return(_avans.All(personalid) .Where(s => s.MaastanDusulduMu == false) ); }
public IEnumerable <Avanslar> All() { return(_manager.All()); }