IS.Model.Repository.Team.TeamRepository.GetList C# (CSharp) Method

GetList() public method

Получает список всех группу.
public GetList ( ) : List
return List
        public List<TeamItem> GetList()
        {
            using (var sqlh = new SqlHelper())
            {
                return sqlh.ExecMappingList<TeamItem>(@"
            select
            t.team Id,
            t.name Name,
            t.create_date CreateDate,
            t.specialty_detail SpecialtyDetailId
            from Team.team t
            ");
            }
        }