public ActionResult <IEnumerable <CourseAuthorDto> > Get(string courseName = "", string authorName = "") { /* * Author a = _repository.GetAuthors().First(); * a.FirstName = a.FirstName + " - 1"; * _repository.UpdateAuthor(a); * _repository.Save(); */ return(new ActionResult <IEnumerable <CourseAuthorDto> >(_repository.GetCourseAuthors(courseName, authorName))); }