Exemplo n.º 1
0
        public static int SetManagerToDepartment(int EmployeeID, string DepartmentName)
        {
            //Executes a stored procedure to make an employeee manager to department
            string sql = $"Exec SetManager {EmployeeID},'{DepartmentName}';";

            return(SqlDataAccess.ExecuteQuey(sql));
        }