public List<Post> getPostList(List<EmployeeAttrib> empAttribs)
    {
        SQLDB db = new SQLDB();
        List<Post> all_posts = new List<Post>();

        foreach (EmployeeAttrib empAtr in empAttribs)
        {
            Post post = db.getPost(empAtr.EmployeeID, empAtr.StartPeriod, empAtr.BeginDate, empAtr.EndDate);
            if (post != null)
            {
                if (all_posts.Count > 0)
                {
                    Post p = all_posts.Find(delegate(Post pt) { return pt.Post_Name.Equals(post.Post_Name); });
                    if (p == null) all_posts.Add(post);
                }
                else
                    all_posts.Add(post);
            }
        }

        PostComparerASC pc = new PostComparerASC();
        all_posts.Sort(pc);

        Post all = new Post("0", "ВСЕ");
        all_posts.Add(all);

        return all_posts;
    }