常用方法
常用方法
常用方法
常用方法
public ActionResult GetPhotos(int id) => Ok(Mapper.Map <IEnumerable <PhotoDTO>, IEnumerable <Photo> >(_photosService.GetByFilmId(id)));
public ActionResult GetPhotos(int id) => Ok(Mapper.Map <IEnumerable <PhotoDTO>, IEnumerable <Photo> >(_photosService.GetByFilmId(id)));