using System.Collections.Generic;
using System.Linq;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading.Tasks;

namespace WpfApp1.model
{
    class Globals
    {
        public static IDataProvider dataProvider;
        IEnumerable<WorkerPos> getWorkerPos()
        {
            return new WorkerPos[] {
                new WorkerPos { title = "Уборщик"},
                new WorkerPos { title = "Директор"},
                new WorkerPos { title = "Мастер"},
                new WorkerPos { title = "Стажер"},
                new WorkerPos { title = "Оператор"}
            };
        }
        IEnumerable<WorkerAge> getWorkerAge()
        {
            return new WorkerAge[] {
                new WorkerAge{title="Все возраста", AgeFrom=0, AgeTo=110},
                new WorkerAge{title="Дети", AgeFrom=1, AgeTo=100},
                new WorkerAge{title="Подростки", AgeFrom=100, AgeTo = 500},
                new WorkerAge{title="Мужчины", AgeFrom=500, AgeTo=700},
                new WorkerAge{title="Старики", AgeFrom=700, AgeTo=200}
            };
        }
        IEnumerable<WorkerSex> getWorkerSex()
        {
            return new WorkerSex[] {
                new WorkerSex { title = "Мужской"},
                new WorkerSex { title = "Женский"}
            };
        }
    }
}
