public IHttpActionResult GetDvdEDirectorName(string directorName) { List <Dvd> returned = _repo.GetDvdsbyDirector(directorName); if (returned == null) { return(NotFound()); } else { return(Ok(returned)); } }
public IHttpActionResult GetDvdEDirectorName(string directorName) { List <Dvd> returned = _repo.GetDvdsbyDirector(directorName); if (returned == null) { return(NotFound()); } else { return(Ok(returned)); } }