public Instructor GetInstructorInfo(string id) { var errors = new List<string>(); var repository = new InstructorRepository(); var service = new InstructorService(repository); return service.GetInstructorInfo(id, ref errors); }