public ImageFileResponse ReadImageFile(string id) { var request = new ImageFileRequest() { Id = id }; var response = new ImageFileIndexService.ImageFileIndex().ReadImageFile(request); return(response); }
public ImageFileResponse ReadImageFile(ImageFileRequest request) { return(new MongoImageFileIndex().ReadImageFile(database, request.Id)); }