Пример #1
0
        public CiOrdFeeSrvDTO GetLastOfFeeSrv(string id_or)
        {
            var groupFeeSrv = tableDatasource.Where(p => !p.IsDELETED && p.Id_or.Equals(id_or));

            return(groupFeeSrv != null?groupFeeSrv.LastOrDefault() : tableDatasource.Where(p => !p.IsDELETED).FirstOrDefault());
        }