public Department_Data(List <Backend.Department> DDB) { DB = DDB; emartDataContext = new EmartDataContext(); }
public Department_Data() { DB = new List <Backend.Department>(); DB.Add(new Backend.Department("defult", "0"));//defult department, only in use when removing departmetnt in exsisting object emartDataContext = new EmartDataContext(); }