Пример #1
0
        public static int GetDeaprtmentByName(string name)
        {
            DepartmentBLL bLL = new DepartmentBLL();

            return(bLL.GetDepartmentId(name).DepartmentID);
        }
Пример #2
0
        public static string GetDeaprtmentById(int n)
        {
            DepartmentBLL bLL = new DepartmentBLL();

            return(bLL.GetDepartmentName(n).DepartmentName);
        }